Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.88 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.1003, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.199/0.2994, allocations: 7.537 MB / 435.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.3097, allocations: 10.77 MB / 446.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3109, allocations: 85.59 kB / 446.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.3129, allocations: 0.7106 MB / 446.9 MB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.3172, allocations: 1.197 MB / 448.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.3196, allocations: 0.6702 MB / 448.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004876/0.3245, allocations: 2.579 MB / 451.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.3249, allocations: 176.8 kB / 451.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.3258, allocations: 0.4927 MB / 452 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.3266, allocations: 0.5359 MB / 452.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3267, allocations: 55.94 kB / 452.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3288, allocations: 0.772 MB / 453.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.329, allocations: 189.4 kB / 453.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007511/0.3297, allocations: 0.677 MB / 454.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.3329, allocations: 1.956 MB / 456.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3329, allocations: 0 / 456.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3329, allocations: 3.938 kB / 456.2 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.73e-05/0.3329, allocations: 0 / 456.2 MB, free: 12 MB / 366.1 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.003613/0.3365, allocations: 2.045 MB / 458.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3365, allocations: 9.094 kB / 458.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.3368, allocations: 208.3 kB / 458.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.339, allocations: 1.354 MB / 459.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.339, allocations: 37.58 kB / 459.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3391, allocations: 46.59 kB / 459.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.3402, allocations: 0.5099 MB / 460.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3402, allocations: 4 kB / 460.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.3402, allocations: 16.16 kB / 460.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.3403, allocations: 17.92 kB / 460.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.3412, allocations: 470.9 kB / 460.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.3448, allocations: 2.1 MB / 463 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3459, allocations: 0.659 MB / 463.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.3467, allocations: 469.9 kB / 464.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007317/0.354, allocations: 4.911 MB / 469.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/0.3546, allocations: 314.3 kB / 469.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.3546, allocations: 0 / 469.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005874/0.3605, allocations: 2.426 MB / 471.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3606, allocations: 62.16 kB / 471.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.3624, allocations: 1.285 MB / 473.1 MB, free: 192 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.3625, allocations: 36.02 kB / 473.2 MB, free: 152 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.3632, allocations: 0.7069 MB / 473.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.3634, allocations: 231.6 kB / 474.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.3636, allocations: 119.5 kB / 474.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3638, allocations: 335.8 kB / 474.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.3643, allocations: 215.5 kB / 474.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.3648, allocations: 359.4 kB / 475.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.3659, allocations: 0.6141 MB / 475.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3659, allocations: 7.938 kB / 475.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001972/0.3679, allocations: 0.9687 MB / 476.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3679, allocations: 6.781 kB / 476.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.943e-05/0.368, allocations: 64.09 kB / 476.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.3685, allocations: 183.1 kB / 476.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.369, allocations: 110.6 kB / 477.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003643/0.3726, allocations: 2.764 MB / 479.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.3734, allocations: 23.69 kB / 479.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.3735, allocations: 37.69 kB / 479.9 MB, free: 11.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005429/0.374, allocations: 266.4 kB / 480.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.3744, allocations: 192.2 kB / 480.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.3765, allocations: 0.9626 MB / 481.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3765, allocations: 8 kB / 481.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3765, allocations: 4.875 kB / 481.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3766, allocations: 3.984 kB / 481.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.378, allocations: 0.899 MB / 482.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.892e-05/0.378, allocations: 60 kB / 482.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.3784, allocations: 67.88 kB / 482.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005033/0.3789, allocations: 175.9 kB / 482.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.3789, allocations: 25.06 kB / 482.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.3825, allocations: 2.76 MB / 485.3 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3825, allocations: 4 kB / 485.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.385, allocations: 1.178 MB / 486.5 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.3856, allocations: 264.7 kB / 486.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3857, allocations: 15.92 kB / 486.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.3861, allocations: 19.98 kB / 486.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3862, allocations: 48.38 kB / 486.8 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.3863, allocations: 24 kB / 486.8 MB, free: 4.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.3875, allocations: 0.8574 MB / 487.7 MB, free: 3.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3875, allocations: 0 / 487.7 MB, free: 3.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001212/0.3888, allocations: 387.2 kB / 488.1 MB, free: 3.039 MB / 382.1 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 (31): * Single equations (assignments): 25 * 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,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008367/0.3896, allocations: 468.3 kB / 488.5 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.3915, allocations: 0.8843 MB / 489.4 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3915, allocations: 0 / 489.4 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.3926, allocations: 0.6041 MB / 490 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3937, allocations: 208.9 kB / 490.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.3978, allocations: 2.509 MB / 492.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/0.3986, allocations: 1.174 MB / 493.9 MB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.3988, allocations: 83.44 kB / 494 MB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3988, allocations: 0 / 494 MB, free: 13.02 MB / 398.1 MB Notification: Performance of Templates: time 0.03489/0.4337, allocations: 24.39 MB / 0.5062 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.749187996145338]