Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002714/0.002715, allocations: 181.5 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.488/3.488, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.001317/0.001317, allocations: 85.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000624/0.0006243, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.8892, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/1.103, allocations: 77.9 MB / 453.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/1.104, allocations: 83.95 kB / 453.7 MB, free: 2.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02762/1.131, allocations: 4.411 MB / 458.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.517e-06/1.131, allocations: 0 / 458.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.698e-05/1.131, allocations: 8 kB / 458.1 MB, free: 14.21 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001411/1.133, allocations: 0.5345 MB / 458.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/1.133, allocations: 8.031 kB / 458.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/1.133, allocations: 32.56 kB / 458.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/1.138, allocations: 269.3 kB / 459 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/1.138, allocations: 20.94 kB / 459 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.138, allocations: 24.38 kB / 459 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/1.139, allocations: 245.4 kB / 459.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/1.139, allocations: 192 / 459.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/1.14, allocations: 7.938 kB / 459.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/1.14, allocations: 8 kB / 459.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000986/1.141, allocations: 238 kB / 459.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/1.143, allocations: 0.9446 MB / 460.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/1.144, allocations: 198.4 kB / 460.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/1.145, allocations: 156.8 kB / 460.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/1.145, allocations: 4 kB / 460.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.145, allocations: 38.56 kB / 460.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.898e-06/1.145, allocations: 0 / 460.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002628/1.148, allocations: 0.6157 MB / 461.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/1.148, allocations: 59.34 kB / 461.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/1.148, allocations: 224.2 kB / 461.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/1.148, allocations: 25.7 kB / 461.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.148, allocations: 179.9 kB / 461.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.148, allocations: 63 kB / 462 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/1.149, allocations: 8 kB / 462 MB, free: 10.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/1.149, allocations: 326.8 kB / 462.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.149, allocations: 68.45 kB / 462.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004396/1.153, allocations: 125.9 kB / 462.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/1.154, allocations: 188.4 kB / 462.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.154, allocations: 0 / 462.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001413/1.156, allocations: 365.9 kB / 463.1 MB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/1.156, allocations: 142 kB / 463.2 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.156, allocations: 7.984 kB / 463.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/1.156, allocations: 80.8 kB / 463.3 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/1.157, allocations: 51.91 kB / 463.3 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/1.161, allocations: 1.89 MB / 465.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/1.161, allocations: 23.78 kB / 465.2 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/1.162, allocations: 19.92 kB / 465.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.162, allocations: 4 kB / 465.3 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006024/1.162, allocations: 208.5 kB / 465.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.162, allocations: 4 kB / 465.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/1.162, allocations: 52.77 kB / 465.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/1.163, allocations: 44.11 kB / 465.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/1.165, allocations: 1.604 MB / 467.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/1.165, allocations: 19.83 kB / 467.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/1.165, allocations: 8 kB / 467.2 MB, free: 4.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004074/1.166, allocations: 217 kB / 467.4 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.166, allocations: 19.72 kB / 467.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/1.166, allocations: 29.98 kB / 467.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.166, allocations: 0 / 467.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/1.166, allocations: 8.062 kB / 467.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.166, allocations: 0 / 467.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/1.168, allocations: 0.6435 MB / 468.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.168, allocations: 0 / 468.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/1.168, allocations: 31.92 kB / 468.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/1.168, allocations: 80.8 kB / 468.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/1.168, allocations: 8 kB / 468.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007595/1.176, allocations: 1.807 MB / 470 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.176, allocations: 0 / 470 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/1.178, allocations: 443.8 kB / 470.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/1.178, allocations: 96.95 kB / 470.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/1.178, allocations: 7.875 kB / 470.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/1.178, allocations: 24.05 kB / 470.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/1.178, allocations: 15.97 kB / 470.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/1.178, allocations: 8 kB / 470.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003327/1.179, allocations: 165.5 kB / 470.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.179, allocations: 0 / 470.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001325/1.18, allocations: 135.6 kB / 470.9 MB, free: 0.582 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003257/1.18, allocations: 115.2 kB / 471 MB, free: 472 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/1.183, allocations: 0.5643 MB / 471.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.183, allocations: 8.688 kB / 471.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/1.183, allocations: 218.6 kB / 471.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/1.184, allocations: 41.88 kB / 471.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/1.187, allocations: 0.9671 MB / 472.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.188, allocations: 0.7524 MB / 473.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/1.188, allocations: 15.44 kB / 473.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/1.188, allocations: 0 / 473.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01564/1.204, allocations: 3.74 MB / 477.3 MB, free: 10.07 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches