Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.0008452/0.0008452, allocations: 91.61 kB / 22.18 MB, free: 2.379 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.000888/0.000888, allocations: 161.7 kB / 25.45 MB, free: 8.852 MB / 18.57 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 0.8394/0.8394, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.002e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004422/0.004442, allocations: 6.34 MB / 306 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007227/0.01167, allocations: 9.01 MB / 315 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.01224, allocations: 126.6 kB / 315.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009467/0.01319, allocations: 0.6306 MB / 315.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.01494, allocations: 1.232 MB / 317 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.01589, allocations: 0.6834 MB / 317.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001963/0.01785, allocations: 2.562 MB / 320.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.01809, allocations: 176.3 kB / 320.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.0187, allocations: 0.6818 MB / 321.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.01899, allocations: 370.7 kB / 321.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.01905, allocations: 60 kB / 321.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00073/0.01978, allocations: 0.6596 MB / 322.2 MB, free: 300 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.791e-05/0.01986, allocations: 182.8 kB / 322.4 MB, free: 116 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.0201, allocations: 378.8 kB / 322.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.02141, allocations: 1.989 MB / 324.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.02141, allocations: 0 / 324.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02142, allocations: 0 / 324.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.02143, allocations: 3.938 kB / 324.7 MB, free: 13.74 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001635/0.02306, allocations: 1.948 MB / 326.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.02311, allocations: 15.98 kB / 326.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.02325, allocations: 207.6 kB / 326.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.02463, allocations: 1.239 MB / 328.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.02465, allocations: 41.12 kB / 328.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.02472, allocations: 40 kB / 328.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.02529, allocations: 0.5158 MB / 328.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.0253, allocations: 0 / 328.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.02533, allocations: 16 kB / 328.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.02534, allocations: 16 kB / 328.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.02588, allocations: 480.1 kB / 329.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.02764, allocations: 1.857 MB / 331.1 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.02819, allocations: 0.5031 MB / 331.6 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.02861, allocations: 481.2 kB / 332.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003232/0.03185, allocations: 2.529 MB / 334.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.03219, allocations: 286.2 kB / 334.9 MB, free: 3.387 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 1.643e-06/0.03219, allocations: 0 / 334.9 MB, free: 3.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.002285/0.03448, allocations: 1.897 MB / 336.8 MB, free: 1.449 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.03452, allocations: 67.84 kB / 336.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.0354, allocations: 1.304 MB / 338.2 MB, free: 72 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.03543, allocations: 37.69 kB / 338.2 MB, free: 28 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.03582, allocations: 0.7195 MB / 338.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.03592, allocations: 210.2 kB / 339.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.03602, allocations: 118.3 kB / 339.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.03611, allocations: 330 kB / 339.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.03635, allocations: 201.5 kB / 339.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.03664, allocations: 359.8 kB / 340.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.03793, allocations: 1.14 MB / 341.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.03793, allocations: 4 kB / 341.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001014/0.03894, allocations: 0.9097 MB / 342.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.03896, allocations: 8 kB / 342.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/0.03901, allocations: 67.92 kB / 342.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.03927, allocations: 153.2 kB / 342.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.03949, allocations: 111.8 kB / 342.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.04118, allocations: 2.359 MB / 344.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.0414, allocations: 28.03 kB / 344.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.04143, allocations: 35.98 kB / 344.9 MB, free: 9.043 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.04173, allocations: 281.6 kB / 345.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.04184, allocations: 190.8 kB / 345.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009853/0.04282, allocations: 0.8935 MB / 346.3 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.04282, allocations: 4 kB / 346.3 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.04283, allocations: 4 kB / 346.3 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.04283, allocations: 3.938 kB / 346.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.04336, allocations: 0.7061 MB / 347 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-05/0.0434, allocations: 60 kB / 347 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.04354, allocations: 55.95 kB / 347.1 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.04375, allocations: 151.4 kB / 347.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.04377, allocations: 15.94 kB / 347.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.04544, allocations: 2.336 MB / 349.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.04544, allocations: 4 kB / 349.6 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.04649, allocations: 1.073 MB / 350.7 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.04666, allocations: 178.9 kB / 350.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.04672, allocations: 11.98 kB / 350.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.04689, allocations: 23.92 kB / 350.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.04698, allocations: 48.42 kB / 350.9 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.047, allocations: 27.98 kB / 351 MB, free: 2.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000617/0.04762, allocations: 0.8539 MB / 351.8 MB, free: 1.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04762, allocations: 0 / 351.8 MB, free: 1.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000549/0.04817, allocations: 383.2 kB / 352.2 MB, free: 1.594 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004982/0.04867, allocations: 487.6 kB / 352.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000891/0.04956, allocations: 0.8014 MB / 353.5 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.04956, allocations: 0 / 353.5 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1122/0.1618, allocations: 0.5472 MB / 354 MB, free: 61.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.1625, allocations: 183.1 kB / 354.2 MB, free: 61.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.1652, allocations: 2.374 MB / 356.6 MB, free: 60.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1657, allocations: 0.5893 MB / 357.1 MB, free: 60.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1658, allocations: 86.62 kB / 357.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1658, allocations: 0 / 357.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of Templates: time 0.01692/0.1827, allocations: 24.92 MB / 382.2 MB, free: 43.43 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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: 5.233033557422459]