Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001975/0.001975, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 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.002322/0.002322, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.86 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09817, allocations: 53.32 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.22/0.3182, allocations: 7.541 MB / 434.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3286, allocations: 10.77 MB / 445.1 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009887/0.3296, allocations: 120.5 kB / 445.2 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.3313, allocations: 0.7094 MB / 445.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004225/0.3356, allocations: 1.199 MB / 447.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.3377, allocations: 0.6842 MB / 447.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004294/0.342, allocations: 2.568 MB / 450.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3423, allocations: 181.3 kB / 450.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.3431, allocations: 0.5153 MB / 451.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.3438, allocations: 0.537 MB / 451.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.402e-05/0.3439, allocations: 55.75 kB / 451.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.3457, allocations: 0.7677 MB / 452.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3459, allocations: 187.9 kB / 452.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.3465, allocations: 0.6783 MB / 453.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.3492, allocations: 1.952 MB / 455.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3492, allocations: 0 / 455.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3492, allocations: 0 / 455.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.3492, allocations: 2.031 kB / 455.2 MB, free: 11.73 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.003326/0.3525, allocations: 2.04 MB / 457.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3526, allocations: 9.625 kB / 457.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.3529, allocations: 208 kB / 457.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.3549, allocations: 1.36 MB / 458.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.3549, allocations: 45.05 kB / 458.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.355, allocations: 46.25 kB / 458.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3561, allocations: 0.5053 MB / 459.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3561, allocations: 3.938 kB / 459.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.3562, allocations: 20.12 kB / 459.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3562, allocations: 14.41 kB / 459.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3573, allocations: 477.5 kB / 459.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.3607, allocations: 2.093 MB / 462 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.3618, allocations: 0.6579 MB / 462.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/0.3626, allocations: 466.7 kB / 463.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006714/0.3693, allocations: 4.919 MB / 468.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006269/0.3699, allocations: 307.8 kB / 468.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.385e-06/0.3699, allocations: 0 / 468.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005502/0.3754, allocations: 2.43 MB / 470.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3755, allocations: 62.06 kB / 470.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.3772, allocations: 1.284 MB / 472.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.3772, allocations: 39.94 kB / 472.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/0.3779, allocations: 0.7076 MB / 472.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.3781, allocations: 227.6 kB / 473.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3783, allocations: 123.3 kB / 473.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3785, allocations: 328.1 kB / 473.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.379, allocations: 218.9 kB / 473.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.3796, allocations: 361.1 kB / 474.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3807, allocations: 0.616 MB / 474.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3807, allocations: 1.781 kB / 474.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001822/0.3826, allocations: 0.9636 MB / 475.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3826, allocations: 6.531 kB / 475.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.3827, allocations: 64.16 kB / 475.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/0.3832, allocations: 186.5 kB / 476 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3837, allocations: 112.3 kB / 476.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.3874, allocations: 2.76 MB / 478.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.3881, allocations: 29.56 kB / 478.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.3882, allocations: 29.41 kB / 478.9 MB, free: 10.89 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.0004999/0.3887, allocations: 267.3 kB / 479.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.3889, allocations: 199.4 kB / 479.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.3911, allocations: 0.964 MB / 480.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3911, allocations: 4.875 kB / 480.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3911, allocations: 4 kB / 480.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3911, allocations: 7.922 kB / 480.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.3924, allocations: 0.9031 MB / 481.2 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.139e-05/0.3925, allocations: 56 kB / 481.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.3929, allocations: 75.88 kB / 481.4 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.3934, allocations: 179.8 kB / 481.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.3934, allocations: 23.94 kB / 481.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.3971, allocations: 2.753 MB / 484.3 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3971, allocations: 0 / 484.3 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.3994, allocations: 1.186 MB / 485.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.3998, allocations: 260 kB / 485.7 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.4, allocations: 15.92 kB / 485.8 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.4004, allocations: 19.98 kB / 485.8 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4005, allocations: 52.38 kB / 485.8 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.4006, allocations: 27.98 kB / 485.9 MB, free: 3.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.4017, allocations: 0.8496 MB / 486.7 MB, free: 3.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 486.7 MB, free: 3.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001138/0.4029, allocations: 391.2 kB / 487.1 MB, free: 2.703 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.0008373/0.4037, allocations: 459.3 kB / 487.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.4056, allocations: 0.882 MB / 488.4 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4056, allocations: 0 / 488.4 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.4068, allocations: 0.608 MB / 489 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/0.4078, allocations: 208.2 kB / 489.2 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.4119, allocations: 2.459 MB / 491.7 MB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009873/0.4129, allocations: 1.17 MB / 492.9 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.4134, allocations: 187.2 kB / 493 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.4135, allocations: 83.44 kB / 493.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4135, allocations: 0 / 493.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of Templates: time 0.02921/0.4427, allocations: 14.38 MB / 0.4956 GB, free: 14.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.2400605864822865]