Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005616/0.005616, allocations: 141.1 kB / 24.68 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8177/0.8177, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 3.984 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.626e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005061/0.005087, allocations: 6.469 MB / 326.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009331/0.01442, allocations: 9.301 MB / 335.5 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.01543, allocations: 122.6 kB / 335.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.01675, allocations: 0.6501 MB / 336.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.01931, allocations: 1.244 MB / 337.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.02075, allocations: 0.6874 MB / 338.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.02346, allocations: 2.609 MB / 340.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.02374, allocations: 180.4 kB / 340.9 MB, free: 480 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.02429, allocations: 0.7169 MB / 341.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.02464, allocations: 374.6 kB / 342 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.0247, allocations: 52 kB / 342.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.02579, allocations: 0.6946 MB / 342.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.02591, allocations: 190.7 kB / 343 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.02617, allocations: 386.8 kB / 343.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.02777, allocations: 1.993 MB / 345.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02777, allocations: 0 / 345.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.02777, allocations: 0 / 345.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.02779, allocations: 0 / 345.3 MB, free: 12.07 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.001959/0.02975, allocations: 1.944 MB / 347.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.02979, allocations: 12.92 kB / 347.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.02995, allocations: 207.7 kB / 347.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.0312, allocations: 1.235 MB / 348.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.03123, allocations: 37.38 kB / 348.8 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.03128, allocations: 48.31 kB / 348.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.03188, allocations: 0.5158 MB / 349.3 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.03189, allocations: 0 / 349.3 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.03193, allocations: 16 kB / 349.3 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.03194, allocations: 16 kB / 349.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.0325, allocations: 480 kB / 349.8 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.03435, allocations: 1.861 MB / 351.7 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.03491, allocations: 0.4953 MB / 352.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.03534, allocations: 465.5 kB / 352.6 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003489/0.03883, allocations: 2.552 MB / 355.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.03919, allocations: 286.2 kB / 355.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 1.713e-06/0.03919, allocations: 0 / 355.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.002211/0.0414, allocations: 1.897 MB / 357.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.04144, allocations: 63.91 kB / 357.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.04235, allocations: 1.311 MB / 358.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.04238, allocations: 41.62 kB / 358.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.04276, allocations: 0.7195 MB / 359.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.04286, allocations: 210.2 kB / 359.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.04297, allocations: 118.3 kB / 359.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.04315, allocations: 330 kB / 360.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.04339, allocations: 201.5 kB / 360.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.04368, allocations: 366.8 kB / 360.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.04425, allocations: 0.6 MB / 361.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.04425, allocations: 0 / 361.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008768/0.04513, allocations: 0.9214 MB / 362.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.04515, allocations: 4 kB / 362.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/0.04519, allocations: 63.98 kB / 362.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.04547, allocations: 160.9 kB / 362.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.0457, allocations: 111.8 kB / 362.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.0474, allocations: 2.362 MB / 364.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.04761, allocations: 24.03 kB / 364.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.04765, allocations: 39.94 kB / 365 MB, free: 7.891 MB / 330.7 MB 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.0002613/0.04791, allocations: 273.8 kB / 365.2 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.04802, allocations: 190.8 kB / 365.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009948/0.04901, allocations: 0.8741 MB / 366.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.04902, allocations: 8 kB / 366.3 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.04902, allocations: 3.938 kB / 366.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.04903, allocations: 7.984 kB / 366.3 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.04957, allocations: 0.71 MB / 367 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.04961, allocations: 59.98 kB / 367.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.04976, allocations: 59.89 kB / 367.1 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006287/0.05038, allocations: 148 kB / 367.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.05041, allocations: 19.98 kB / 367.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.05201, allocations: 2.339 MB / 369.6 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.05201, allocations: 7.875 kB / 369.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.05306, allocations: 1.065 MB / 370.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.05323, allocations: 170.9 kB / 370.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.05329, allocations: 12 kB / 370.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.05347, allocations: 23.97 kB / 370.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.05355, allocations: 52.36 kB / 371 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.05358, allocations: 20 kB / 371 MB, free: 1.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006382/0.05421, allocations: 0.8617 MB / 371.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05421, allocations: 0 / 371.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005582/0.05477, allocations: 379.2 kB / 372.2 MB, free: 472 kB / 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.0005133/0.05529, allocations: 491.6 kB / 372.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009287/0.05621, allocations: 0.798 MB / 373.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05622, allocations: 0 / 373.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.05672, allocations: 0.559 MB / 374.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.05721, allocations: 198.2 kB / 374.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.05938, allocations: 2.375 MB / 376.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.0597, allocations: 0.5876 MB / 377.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.0598, allocations: 88.5 kB / 377.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0598, allocations: 0 / 377.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Templates: time 0.01977/0.07957, allocations: 24.92 MB / 402.2 MB, free: 2.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.3850992154330015]