Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008492/0.0008494, allocations: 85.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.000333, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004804/0.2279, allocations: 6.432 MB / 381.5 MB, free: 40.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.2385, allocations: 9.488 MB / 391 MB, free: 32.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.2401, allocations: 38.41 kB / 391 MB, free: 32.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2421, allocations: 0.5366 MB / 391.6 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.2464, allocations: 0.8963 MB / 392.5 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.2484, allocations: 458.8 kB / 392.9 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.2517, allocations: 2.301 MB / 395.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.2521, allocations: 256.3 kB / 395.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.2524, allocations: 398 kB / 395.9 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.2528, allocations: 481 kB / 396.3 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.2528, allocations: 32 kB / 396.4 MB, free: 27.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.2541, allocations: 0.644 MB / 397 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2543, allocations: 143 kB / 397.2 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.2547, allocations: 0.6386 MB / 397.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.2556, allocations: 1.406 MB / 399.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2556, allocations: 0 / 399.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2557, allocations: 0 / 399.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.2557, allocations: 0 / 399.2 MB, free: 24.51 MB / 298.7 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.001941/0.2576, allocations: 1.756 MB / 401 MB, free: 22.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2577, allocations: 8.031 kB / 401 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2578, allocations: 198.7 kB / 401.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.2593, allocations: 1.345 MB / 402.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2593, allocations: 33 kB / 402.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.2594, allocations: 47.91 kB / 402.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.2602, allocations: 0.5197 MB / 403.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2602, allocations: 3.984 kB / 403.1 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.2603, allocations: 20 kB / 403.1 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.2603, allocations: 8 kB / 403.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.2611, allocations: 500 kB / 403.6 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.2635, allocations: 2.115 MB / 405.7 MB, free: 17.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/0.2643, allocations: 0.7197 MB / 406.5 MB, free: 17.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.265, allocations: 0.5257 MB / 407 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00611/0.2711, allocations: 6.525 MB / 413.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.2716, allocations: 298.5 kB / 413.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=55): time 3.136e-06/0.2717, allocations: 4 kB / 413.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=59): time 0.003045/0.2747, allocations: 2.014 MB / 415.8 MB, free: 6.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.2747, allocations: 55.84 kB / 415.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.276, allocations: 1.288 MB / 417.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.276, allocations: 41.64 kB / 417.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.2764, allocations: 0.715 MB / 417.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.2765, allocations: 201.1 kB / 418.1 MB, free: 4.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.2766, allocations: 8 kB / 418.1 MB, free: 4.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.2766, allocations: 334 kB / 418.4 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.277, allocations: 201.6 kB / 418.6 MB, free: 3.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.2774, allocations: 371.8 kB / 419 MB, free: 3.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.2794, allocations: 1.174 MB / 420.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2794, allocations: 0 / 420.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001441/0.2809, allocations: 0.9265 MB / 421.1 MB, free: 1.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2809, allocations: 19.34 kB / 421.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-05/0.281, allocations: 56 kB / 421.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.2814, allocations: 152.7 kB / 421.3 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.2818, allocations: 127.8 kB / 421.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.2845, allocations: 2.292 MB / 423.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.2851, allocations: 36.02 kB / 423.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.2852, allocations: 32 kB / 423.8 MB, free: 14.28 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T2.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 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006058/0.2858, allocations: 273.7 kB / 424.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.286, allocations: 181.9 kB / 424.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.2879, allocations: 0.9137 MB / 425.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.288, allocations: 8 kB / 425.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.288, allocations: 4 kB / 425.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.288, allocations: 0 / 425.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.289, allocations: 0.8709 MB / 426 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-05/0.2891, allocations: 60 kB / 426.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.2894, allocations: 67.83 kB / 426.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.2898, allocations: 150.6 kB / 426.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.2899, allocations: 16 kB / 426.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.2926, allocations: 2.282 MB / 428.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2926, allocations: 3.938 kB / 428.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.2946, allocations: 1.088 MB / 429.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.2949, allocations: 254.9 kB / 430 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.2951, allocations: 11.94 kB / 430 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.2954, allocations: 23.98 kB / 430 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.2955, allocations: 48.38 kB / 430 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.2956, allocations: 23.98 kB / 430.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.2966, allocations: 0.846 MB / 430.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2966, allocations: 0 / 430.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008492/0.2975, allocations: 371.8 kB / 431.3 MB, free: 6.562 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006932/0.2982, allocations: 468.2 kB / 431.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2997, allocations: 0.8679 MB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2997, allocations: 0 / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.3006, allocations: 0.5941 MB / 433.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.3013, allocations: 178.2 kB / 433.4 MB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.3049, allocations: 2.793 MB / 436.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.3056, allocations: 1.17 MB / 437.3 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3058, allocations: 83.44 kB / 437.4 MB, free: 308 kB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3058, allocations: 0 / 437.4 MB, free: 308 kB / 314.7 MB Notification: Performance of Templates: time 0.03147/0.3373, allocations: 23.81 MB / 461.2 MB, free: 8.469 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches