Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00139/0.00139, allocations: 82.66 kB / 21.43 MB, free: 3.07 MB / 18.57 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.00118/0.00118, allocations: 163.9 kB / 24.82 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.34e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00639/0.006413, allocations: 4.812 MB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.01726, allocations: 10 MB / 288.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.01792, allocations: 39.56 kB / 288.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.01932, allocations: 0.634 MB / 288.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.02172, allocations: 1.047 MB / 289.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.02288, allocations: 0.6096 MB / 290.5 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1098/0.1326, allocations: 1.461 MB / 292 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1329, allocations: 112.1 kB / 292.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.1336, allocations: 0.5766 MB / 292.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.134, allocations: 243.6 kB / 292.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/0.134, allocations: 33.06 kB / 292.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.1353, allocations: 0.6681 MB / 293.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.1354, allocations: 112.7 kB / 293.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.1356, allocations: 222.9 kB / 293.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1368, allocations: 1.079 MB / 295 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1368, allocations: 0 / 295 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1368, allocations: 1.375 kB / 295 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.1368, allocations: 0.9375 kB / 295 MB, free: 15.57 MB / 266.7 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.001443/0.1383, allocations: 1.421 MB / 296.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1383, allocations: 10.22 kB / 296.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.1385, allocations: 142.5 kB / 296.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.1391, allocations: 0.7204 MB / 297.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1391, allocations: 18.78 kB / 297.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.1392, allocations: 30.41 kB / 297.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1395, allocations: 222.5 kB / 297.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1395, allocations: 5.016 kB / 297.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1395, allocations: 10.12 kB / 297.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1395, allocations: 12.16 kB / 297.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1397, allocations: 116.5 kB / 297.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1408, allocations: 1.117 MB / 298.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.141, allocations: 157.3 kB / 299 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1411, allocations: 140.2 kB / 299.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.1428, allocations: 1.429 MB / 300.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.143, allocations: 145.3 kB / 300.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.143, allocations: 0 / 300.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005549/0.1436, allocations: 406 kB / 301.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.1436, allocations: 55.53 kB / 301.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.1442, allocations: 0.8819 MB / 302 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1442, allocations: 29.77 kB / 302.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.1444, allocations: 0.5176 MB / 302.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.1445, allocations: 118.4 kB / 302.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.1445, allocations: 80.69 kB / 302.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.1446, allocations: 0.4922 MB / 303.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.1446, allocations: 50.78 kB / 303.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.1447, allocations: 188.8 kB / 303.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.145, allocations: 325 kB / 303.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.145, allocations: 1.281 kB / 303.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003843/0.1454, allocations: 391.2 kB / 304.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1454, allocations: 12.53 kB / 304.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.1454, allocations: 37.31 kB / 304.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.1455, allocations: 33.16 kB / 304.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1457, allocations: 88.8 kB / 304.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/0.1462, allocations: 1.743 MB / 306.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1464, allocations: 40.73 kB / 306.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.1464, allocations: 19.94 kB / 306.2 MB, free: 9.75 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.1466, allocations: 185.5 kB / 306.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.1466, allocations: 117.1 kB / 306.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.147, allocations: 375.9 kB / 306.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.147, allocations: 6.5 kB / 306.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.147, allocations: 0 / 306.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.147, allocations: 1.219 kB / 306.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.1474, allocations: 387 kB / 307.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.1474, allocations: 34.59 kB / 307.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1475, allocations: 53.66 kB / 307.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.208e-05/0.1476, allocations: 26.88 kB / 307.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1476, allocations: 13.03 kB / 307.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005137/0.1481, allocations: 1.741 MB / 309.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1481, allocations: 0 / 309.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1485, allocations: 439.5 kB / 309.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1486, allocations: 115.7 kB / 309.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1486, allocations: 12.83 kB / 309.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1487, allocations: 8.75 kB / 309.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1488, allocations: 29.67 kB / 309.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1488, allocations: 6.5 kB / 309.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.149, allocations: 0.5008 MB / 310.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.149, allocations: 0 / 310.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.1495, allocations: 251.2 kB / 310.4 MB, free: 6.906 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004245/0.1499, allocations: 402.3 kB / 310.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.1503, allocations: 430.6 kB / 311.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1503, allocations: 0 / 311.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.1504, allocations: 323.5 kB / 311.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1508, allocations: 126.7 kB / 311.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1522, allocations: 1.538 MB / 313.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.1523, allocations: 151.6 kB / 313.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.1525, allocations: 85.06 kB / 313.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.1526, allocations: 186 kB / 313.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1526, allocations: 3.531 kB / 313.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of Templates: time 0.01172/0.1644, allocations: 9.594 MB / 323.2 MB, free: 12.33 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.865373708307743]