Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 83.72 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 161.8 kB / 25.25 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 55.91 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2028, allocations: 49.13 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006056/0.2089, allocations: 4.43 MB / 352.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.2203, allocations: 9 MB / 361.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.2208, allocations: 43.56 kB / 362 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2224, allocations: 0.6025 MB / 362.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.225, allocations: 1.015 MB / 363.6 MB, free: 356 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.2265, allocations: 0.5938 MB / 364.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.2287, allocations: 1.355 MB / 365.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.2289, allocations: 113.8 kB / 365.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.2293, allocations: 286.6 kB / 365.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.2297, allocations: 297.9 kB / 366.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.2298, allocations: 32 kB / 366.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.2311, allocations: 0.6362 MB / 366.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2312, allocations: 107.3 kB / 367 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.2315, allocations: 298.1 kB / 367.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.2332, allocations: 1.295 MB / 368.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2332, allocations: 0 / 368.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2332, allocations: 0 / 368.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2332, allocations: 0 / 368.6 MB, free: 11.33 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002107/0.2353, allocations: 1.278 MB / 369.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2353, allocations: 15.98 kB / 369.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2355, allocations: 120.2 kB / 370 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.2367, allocations: 0.6833 MB / 370.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2367, allocations: 24.64 kB / 370.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.2368, allocations: 24 kB / 370.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/0.2375, allocations: 322 kB / 371 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2375, allocations: 0 / 371 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2375, allocations: 12 kB / 371.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.2375, allocations: 8 kB / 371.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.2382, allocations: 282.4 kB / 371.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2403, allocations: 1.211 MB / 372.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.241, allocations: 266.6 kB / 372.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.2414, allocations: 216.8 kB / 373 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003464/0.2449, allocations: 1.443 MB / 374.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.2454, allocations: 187.2 kB / 374.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.2454, allocations: 4 kB / 374.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001665/0.247, allocations: 0.5804 MB / 375.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.2471, allocations: 55.41 kB / 375.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.2481, allocations: 0.8068 MB / 376.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.2481, allocations: 33.7 kB / 376.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.2485, allocations: 452.7 kB / 376.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.2486, allocations: 99.12 kB / 376.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.2487, allocations: 74.02 kB / 376.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2489, allocations: 325.9 kB / 377.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.2492, allocations: 112.8 kB / 377.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.2496, allocations: 228.4 kB / 377.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.2503, allocations: 360.9 kB / 377.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2503, allocations: 0 / 377.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001073/0.2514, allocations: 0.5256 MB / 378.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.2514, allocations: 4 kB / 378.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.91e-05/0.2515, allocations: 32 kB / 378.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.2517, allocations: 57.62 kB / 378.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.252, allocations: 67.89 kB / 378.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.2544, allocations: 2.603 MB / 381 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.2547, allocations: 43.7 kB / 381.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.2547, allocations: 23.98 kB / 381.1 MB, free: 14.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.255, allocations: 201.8 kB / 381.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.2552, allocations: 115.3 kB / 381.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2563, allocations: 0.4897 MB / 381.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2563, allocations: 4 kB / 381.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2563, allocations: 0 / 381.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2563, allocations: 3.984 kB / 381.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.2569, allocations: 454.5 kB / 382.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.257, allocations: 36 kB / 382.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.2572, allocations: 43.89 kB / 382.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.2574, allocations: 45.69 kB / 382.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2574, allocations: 12 kB / 382.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.2596, allocations: 2.599 MB / 385.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2596, allocations: 3.938 kB / 385.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.261, allocations: 0.5963 MB / 385.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2612, allocations: 107.3 kB / 385.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.2612, allocations: 4 kB / 385.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2615, allocations: 19.97 kB / 385.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.2616, allocations: 31.95 kB / 385.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.2616, allocations: 12 kB / 385.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000702/0.2623, allocations: 0.5424 MB / 386.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2623, allocations: 0 / 386.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006598/0.263, allocations: 251.3 kB / 386.6 MB, free: 8.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005945/0.2635, allocations: 360.3 kB / 387 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.2647, allocations: 0.558 MB / 387.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2647, allocations: 0 / 387.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006633/0.2654, allocations: 431.7 kB / 388 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.2658, allocations: 88.39 kB / 388.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.2684, allocations: 1.546 MB / 389.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.2688, allocations: 365.3 kB / 390 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.2691, allocations: 89.19 kB / 390 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.2692, allocations: 40.5 kB / 390.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2692, allocations: 3.938 kB / 390.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of Templates: time 0.01779/0.287, allocations: 8.356 MB / 398.4 MB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.474455790943466]