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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 108.4 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 187 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 43.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2351, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007529/0.2427, allocations: 7.496 MB / 408.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.2553, allocations: 10.71 MB / 419.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2565, allocations: 75.31 kB / 419.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2585, allocations: 0.7113 MB / 420.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.2621, allocations: 1.184 MB / 421.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.2638, allocations: 0.6701 MB / 422.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.2673, allocations: 2.545 MB / 424.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004099/0.2677, allocations: 283.9 kB / 425.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.2682, allocations: 497.6 kB / 425.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.2688, allocations: 0.5356 MB / 426.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2689, allocations: 56.05 kB / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.2704, allocations: 0.7687 MB / 426.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2706, allocations: 190.8 kB / 427.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005253/0.2711, allocations: 0.6754 MB / 427.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.2731, allocations: 1.93 MB / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2731, allocations: 4 kB / 429.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2731, allocations: 0 / 429.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.2731, allocations: 0 / 429.7 MB, free: 12.4 MB / 350.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.002637/0.2758, allocations: 1.984 MB / 431.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2758, allocations: 12.03 kB / 431.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.276, allocations: 202.6 kB / 431.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.2778, allocations: 1.337 MB / 433.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2778, allocations: 40.94 kB / 433.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.2779, allocations: 44 kB / 433.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.2788, allocations: 0.508 MB / 433.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2789, allocations: 4 kB / 433.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.2789, allocations: 24 kB / 433.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2789, allocations: 12 kB / 433.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.2798, allocations: 480 kB / 434.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.2828, allocations: 2.092 MB / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2838, allocations: 0.7085 MB / 437.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.2846, allocations: 0.5173 MB / 437.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007345/0.292, allocations: 6.505 MB / 444.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.2926, allocations: 294.5 kB / 444.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 3.537e-06/0.2926, allocations: 0 / 444.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003547/0.2961, allocations: 1.967 MB / 446.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2962, allocations: 55.84 kB / 446.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.2976, allocations: 1.3 MB / 447.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.2977, allocations: 33.7 kB / 447.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/0.2982, allocations: 0.7188 MB / 448.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.2984, allocations: 197.1 kB / 448.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.2986, allocations: 130.2 kB / 448.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2987, allocations: 330 kB / 449.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.2991, allocations: 201.5 kB / 449.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.2996, allocations: 363.8 kB / 449.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/0.3006, allocations: 0.5948 MB / 450.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3006, allocations: 0 / 450.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001516/0.3021, allocations: 0.9147 MB / 451.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3022, allocations: 12.09 kB / 451.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.32e-05/0.3023, allocations: 60 kB / 451.3 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.3027, allocations: 156.6 kB / 451.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.3032, allocations: 111.9 kB / 451.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.3059, allocations: 2.517 MB / 454.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.3064, allocations: 32.02 kB / 454.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.3065, allocations: 32 kB / 454.1 MB, free: 2.332 MB / 366.1 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.0004231/0.3069, allocations: 273.7 kB / 454.4 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3071, allocations: 185.8 kB / 454.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.3089, allocations: 0.8981 MB / 455.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3089, allocations: 8 kB / 455.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3089, allocations: 4 kB / 455.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3089, allocations: 0 / 455.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.3098, allocations: 0.8631 MB / 456.4 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.191e-05/0.3099, allocations: 52.05 kB / 456.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.3103, allocations: 63.84 kB / 456.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.3106, allocations: 151.5 kB / 456.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.3107, allocations: 16 kB / 456.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.3133, allocations: 2.491 MB / 459.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3133, allocations: 0 / 459.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3152, allocations: 1.072 MB / 460.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.3156, allocations: 250.9 kB / 460.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.3157, allocations: 8 kB / 460.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.3161, allocations: 19.98 kB / 460.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3162, allocations: 44.38 kB / 460.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.3162, allocations: 20 kB / 460.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.3173, allocations: 0.8656 MB / 461.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3173, allocations: 0 / 461.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008909/0.3182, allocations: 371.8 kB / 461.8 MB, free: 10.46 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 (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.0007072/0.3189, allocations: 464 kB / 462.2 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.3205, allocations: 0.8444 MB / 463.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3205, allocations: 3.938 kB / 463.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.3214, allocations: 0.5784 MB / 463.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.3223, allocations: 209.1 kB / 463.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.3256, allocations: 2.431 MB / 466.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.3263, allocations: 1.17 MB / 467.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3265, allocations: 87.44 kB / 467.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3265, allocations: 0 / 467.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02888/0.3554, allocations: 24.13 MB / 491.7 MB, free: 12.43 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches