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.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.001831/0.001831, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002214/0.002214, allocations: 179.9 kB / 24.46 MB, free: 4.062 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.447/1.447, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 55.91 kB / 347.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2764, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007468/0.2839, allocations: 7.391 MB / 404.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2984, allocations: 10.44 MB / 414.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.3007, allocations: 123.6 kB / 414.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.3034, allocations: 0.6991 MB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.3096, allocations: 1.182 MB / 416.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.3125, allocations: 0.6708 MB / 417.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.3174, allocations: 2.508 MB / 419.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.3178, allocations: 180.4 kB / 420 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.3187, allocations: 492.7 kB / 420.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007277/0.3194, allocations: 0.5323 MB / 421 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3196, allocations: 55.09 kB / 421.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.3218, allocations: 0.6916 MB / 421.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.322, allocations: 190.2 kB / 421.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.3227, allocations: 0.671 MB / 422.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.3259, allocations: 1.954 MB / 424.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3259, allocations: 0 / 424.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3259, allocations: 0 / 424.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.3259, allocations: 5.375 kB / 424.6 MB, free: 6.465 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.003282/0.3292, allocations: 1.964 MB / 426.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3292, allocations: 13.55 kB / 426.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.3295, allocations: 211.4 kB / 426.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.3317, allocations: 1.238 MB / 428 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.3318, allocations: 30.56 kB / 428 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3319, allocations: 48.7 kB / 428.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.333, allocations: 0.5202 MB / 428.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.333, allocations: 0 / 428.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.3331, allocations: 20 kB / 428.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.3331, allocations: 12 kB / 428.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009913/0.3341, allocations: 476.1 kB / 429.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.3376, allocations: 2.054 MB / 431.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.3385, allocations: 0.5077 MB / 431.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.3392, allocations: 469.4 kB / 432.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006402/0.3456, allocations: 2.572 MB / 434.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.3462, allocations: 294.2 kB / 435 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.785e-06/0.3462, allocations: 0 / 435 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.00415/0.3503, allocations: 1.908 MB / 436.9 MB, free: 11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.3504, allocations: 67.83 kB / 436.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.3522, allocations: 1.292 MB / 438.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.3523, allocations: 37.7 kB / 438.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000662/0.3529, allocations: 0.7118 MB / 439 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.3531, allocations: 214.2 kB / 439.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.3534, allocations: 130.2 kB / 439.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3536, allocations: 334 kB / 439.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.354, allocations: 189.6 kB / 439.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.3546, allocations: 367.8 kB / 440.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.357, allocations: 1.128 MB / 441.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.357, allocations: 0 / 441.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001894/0.3589, allocations: 0.9328 MB / 442.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3589, allocations: 4 kB / 442.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.359, allocations: 60 kB / 442.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.3594, allocations: 152.8 kB / 442.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3599, allocations: 115.8 kB / 442.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.3631, allocations: 2.422 MB / 445 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.3641, allocations: 28.03 kB / 445 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/0.3642, allocations: 32 kB / 445 MB, free: 2.516 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.000688/0.3648, allocations: 277.6 kB / 445.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.3651, allocations: 194.8 kB / 445.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.367, allocations: 0.8699 MB / 446.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.367, allocations: 4 kB / 446.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.367, allocations: 4 kB / 446.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.367, allocations: 3.984 kB / 446.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3683, allocations: 0.8424 MB / 447.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.431e-05/0.3683, allocations: 59.94 kB / 447.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.3686, allocations: 59.94 kB / 447.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003918/0.369, allocations: 148.8 kB / 447.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.3691, allocations: 19.98 kB / 447.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.372, allocations: 2.394 MB / 449.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.372, allocations: 4 kB / 449.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.3742, allocations: 1.065 MB / 451 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.3747, allocations: 178.8 kB / 451.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.3748, allocations: 15.94 kB / 451.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3751, allocations: 23.97 kB / 451.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3753, allocations: 48.36 kB / 451.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.3753, allocations: 20 kB / 451.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.3766, allocations: 0.8617 MB / 452.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3766, allocations: 0 / 452.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001127/0.3777, allocations: 379.2 kB / 452.5 MB, free: 10.88 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.0008919/0.3786, allocations: 471.6 kB / 452.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.3804, allocations: 0.8011 MB / 453.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3804, allocations: 0 / 453.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.3815, allocations: 0.5512 MB / 454.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3826, allocations: 182.2 kB / 454.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.3869, allocations: 2.439 MB / 456.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.3878, allocations: 1.166 MB / 458.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.3883, allocations: 187.1 kB / 458.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3884, allocations: 87.44 kB / 458.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3884, allocations: 0 / 458.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of Templates: time 0.03078/0.4192, allocations: 13.98 MB / 472.3 MB, free: 6.879 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: 4.955784350633621]