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.001948/0.001948, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002459/0.002459, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.442/1.442, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.00333/0.00333, allocations: 62.58 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.298, allocations: 49.16 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006035/0.304, allocations: 6.349 MB / 403.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3148, allocations: 9.007 MB / 412.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.3162, allocations: 126.1 kB / 412.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.3182, allocations: 0.6258 MB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004577/0.3228, allocations: 1.182 MB / 414.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.3253, allocations: 0.6668 MB / 414.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.3299, allocations: 2.504 MB / 417.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.3304, allocations: 175 kB / 417.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009795/0.3313, allocations: 496.6 kB / 418 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.3323, allocations: 0.4903 MB / 418.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.3325, allocations: 54.88 kB / 418.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.3343, allocations: 0.6642 MB / 419.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.3345, allocations: 182.4 kB / 419.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.3352, allocations: 0.5076 MB / 419.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.3382, allocations: 1.967 MB / 421.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3382, allocations: 5.125 kB / 421.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3382, allocations: 0 / 421.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.413e-05/0.3382, allocations: 0 / 421.8 MB, free: 9.227 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003867/0.3421, allocations: 1.968 MB / 423.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3421, allocations: 12.73 kB / 423.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.3424, allocations: 211.1 kB / 424 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.3448, allocations: 1.237 MB / 425.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.3449, allocations: 33 kB / 425.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.345, allocations: 47.95 kB / 425.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.346, allocations: 0.5119 MB / 425.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.346, allocations: 8 kB / 425.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.3461, allocations: 12 kB / 425.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.3461, allocations: 19.98 kB / 425.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3471, allocations: 472.1 kB / 426.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.3507, allocations: 1.875 MB / 428.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/0.3517, allocations: 0.4999 MB / 428.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.3525, allocations: 469.4 kB / 429.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007102/0.3596, allocations: 2.518 MB / 431.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/0.3602, allocations: 290.2 kB / 432 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 3.306e-06/0.3602, allocations: 0 / 432 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.004193/0.3644, allocations: 1.908 MB / 433.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3645, allocations: 63.84 kB / 433.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3662, allocations: 1.296 MB / 435.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.3662, allocations: 37.69 kB / 435.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/0.367, allocations: 0.7196 MB / 436 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.3672, allocations: 218.1 kB / 436.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.3674, allocations: 118.3 kB / 436.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3676, allocations: 334 kB / 436.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.3681, allocations: 197.5 kB / 436.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.3686, allocations: 359.8 kB / 437.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.3711, allocations: 1.14 MB / 438.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.3712, allocations: 4 kB / 438.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001878/0.373, allocations: 0.9168 MB / 439.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3731, allocations: 8 kB / 439.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.596e-05/0.3731, allocations: 64.61 kB / 439.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.3736, allocations: 160.6 kB / 439.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.374, allocations: 107.9 kB / 439.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3772, allocations: 2.364 MB / 441.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.3779, allocations: 28.03 kB / 442 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.378, allocations: 32 kB / 442 MB, free: 5.375 MB / 350.1 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.0005317/0.3785, allocations: 277.6 kB / 442.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.3787, allocations: 194.8 kB / 442.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.3806, allocations: 0.8931 MB / 443.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3806, allocations: 4 kB / 443.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3806, allocations: 4 kB / 443.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3806, allocations: 0 / 443.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3818, allocations: 0.7138 MB / 444.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.439e-05/0.3819, allocations: 55.98 kB / 444.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.3822, allocations: 63.89 kB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.3826, allocations: 149 kB / 444.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.3827, allocations: 19.98 kB / 444.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.3857, allocations: 2.334 MB / 446.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3857, allocations: 4 kB / 446.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.3878, allocations: 1.065 MB / 447.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.3883, allocations: 175 kB / 447.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.3885, allocations: 15.98 kB / 448 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.3889, allocations: 23.92 kB / 448 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.389, allocations: 52.34 kB / 448 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.3891, allocations: 24 kB / 448.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001315/0.3904, allocations: 0.8617 MB / 448.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3904, allocations: 4 kB / 448.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001147/0.3915, allocations: 375.2 kB / 449.3 MB, free: 13.93 MB / 366.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 (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.0008339/0.3924, allocations: 475.3 kB / 449.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.3941, allocations: 0.801 MB / 450.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3941, allocations: 0 / 450.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3951, allocations: 0.5473 MB / 451.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.3959, allocations: 182.3 kB / 451.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.4005, allocations: 2.431 MB / 453.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.4012, allocations: 0.5836 MB / 454.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005269/0.4017, allocations: 183.2 kB / 454.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.4019, allocations: 83.44 kB / 454.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4019, allocations: 0 / 454.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of Templates: time 0.03192/0.4338, allocations: 15.57 MB / 470.1 MB, free: 8.902 MB / 382.1 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.280174858868122]