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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 67.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2295, allocations: 50.53 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007219/0.2368, allocations: 7.518 MB / 416.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.2476, allocations: 10.74 MB / 427.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.2484, allocations: 79.31 kB / 427.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.2498, allocations: 0.71 MB / 428.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.2521, allocations: 1.182 MB / 429.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2534, allocations: 0.6779 MB / 430.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.2564, allocations: 2.56 MB / 432.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.2568, allocations: 279.9 kB / 433 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.2573, allocations: 0.4976 MB / 433.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.2578, allocations: 0.5278 MB / 434 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.2579, allocations: 59.98 kB / 434.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.2592, allocations: 0.7688 MB / 434.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2593, allocations: 190.8 kB / 435 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.2598, allocations: 0.6715 MB / 435.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2617, allocations: 1.95 MB / 437.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2617, allocations: 4 kB / 437.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2617, allocations: 0 / 437.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.2618, allocations: 0 / 437.6 MB, free: 5.043 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.002562/0.2643, allocations: 1.985 MB / 439.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2644, allocations: 12.03 kB / 439.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.2646, allocations: 198.6 kB / 439.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.2663, allocations: 1.341 MB / 441.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2663, allocations: 36.94 kB / 441.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.2664, allocations: 44 kB / 441.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.2673, allocations: 0.5119 MB / 441.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2673, allocations: 4 kB / 441.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.2673, allocations: 19.98 kB / 441.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2674, allocations: 12 kB / 441.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.2683, allocations: 476 kB / 442.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.271, allocations: 2.096 MB / 444.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.272, allocations: 0.7079 MB / 445.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.2727, allocations: 0.5096 MB / 445.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005276/0.278, allocations: 4.908 MB / 450.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.2786, allocations: 309.9 kB / 450.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.214e-06/0.2786, allocations: 0 / 450.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004621/0.2832, allocations: 2.414 MB / 453.2 MB, free: 4.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2833, allocations: 59.84 kB / 453.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2846, allocations: 1.291 MB / 454.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2846, allocations: 29.7 kB / 454.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/0.2852, allocations: 0.6997 MB / 455.3 MB, free: 2.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2853, allocations: 228.7 kB / 455.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.2855, allocations: 126.2 kB / 455.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2856, allocations: 330 kB / 455.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.2861, allocations: 217.5 kB / 456.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.2866, allocations: 360.5 kB / 456.5 MB, free: 1.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009636/0.2876, allocations: 0.6112 MB / 457.1 MB, free: 416 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2876, allocations: 0 / 457.1 MB, free: 416 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001588/0.2892, allocations: 0.9694 MB / 458.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2892, allocations: 11.12 kB / 458.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.784e-05/0.2893, allocations: 63.98 kB / 458.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004435/0.2897, allocations: 184.2 kB / 458.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.2902, allocations: 107.8 kB / 458.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.2933, allocations: 2.756 MB / 461.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.2937, allocations: 24.03 kB / 461.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.2938, allocations: 39.98 kB / 461.3 MB, free: 12.12 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.0003679/0.2941, allocations: 281.5 kB / 461.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.2943, allocations: 177.9 kB / 461.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.2961, allocations: 0.9796 MB / 462.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2962, allocations: 4 kB / 462.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2962, allocations: 4 kB / 462.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2962, allocations: 3.984 kB / 462.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.2971, allocations: 0.9059 MB / 463.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.83e-05/0.2972, allocations: 59.98 kB / 463.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.2975, allocations: 63.95 kB / 463.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.2979, allocations: 172.7 kB / 463.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.298, allocations: 31.92 kB / 463.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.3009, allocations: 2.745 MB / 466.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3009, allocations: 4 kB / 466.7 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3028, allocations: 1.177 MB / 467.9 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.3031, allocations: 254.9 kB / 468.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.3032, allocations: 11.94 kB / 468.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3036, allocations: 19.98 kB / 468.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3037, allocations: 56.36 kB / 468.2 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.3037, allocations: 20 kB / 468.2 MB, free: 4.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009256/0.3047, allocations: 0.8574 MB / 469.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3047, allocations: 4 kB / 469.1 MB, free: 4.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008244/0.3055, allocations: 379.8 kB / 469.4 MB, free: 3.68 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.0006795/0.3062, allocations: 460.1 kB / 469.9 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3078, allocations: 0.9291 MB / 470.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3078, allocations: 3.938 kB / 470.8 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3088, allocations: 0.6431 MB / 471.5 MB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.3096, allocations: 214.1 kB / 471.7 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.3129, allocations: 2.405 MB / 474.1 MB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.3136, allocations: 1.174 MB / 475.3 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004164/0.314, allocations: 183.2 kB / 475.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.3142, allocations: 87.42 kB / 475.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3142, allocations: 0 / 475.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.02353/0.3377, allocations: 14.24 MB / 489.8 MB, free: 15.29 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches