Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009059/0.000906, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 89.11 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 19.92 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 50.4 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.414, allocations: 79.16 MB / 481.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4143, allocations: 75.95 kB / 482 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01203/0.4263, allocations: 4.527 MB / 486.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4264, allocations: 0 / 486.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.4264, allocations: 8 kB / 486.5 MB, free: 12.58 MB / 362.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.0008213/0.4272, allocations: 0.5267 MB / 487.1 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4273, allocations: 12.02 kB / 487.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.4274, allocations: 32.56 kB / 487.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.4277, allocations: 264.3 kB / 487.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.4277, allocations: 24.88 kB / 487.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.4278, allocations: 28.31 kB / 487.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.4284, allocations: 272.2 kB / 487.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4284, allocations: 192 / 487.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.4284, allocations: 15.94 kB / 487.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4284, allocations: 12 kB / 487.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.4289, allocations: 206.1 kB / 487.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.4305, allocations: 1.019 MB / 488.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.431, allocations: 202.3 kB / 489.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.4314, allocations: 156.8 kB / 489.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4314, allocations: 4 kB / 489.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4314, allocations: 34.56 kB / 489.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.4315, allocations: 0 / 489.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001766/0.4332, allocations: 0.6273 MB / 489.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4333, allocations: 59.39 kB / 490 MB, free: 8.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4335, allocations: 229 kB / 490.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4335, allocations: 25.7 kB / 490.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4337, allocations: 179.8 kB / 490.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.4338, allocations: 67.09 kB / 490.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-06/0.4338, allocations: 4 kB / 490.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4339, allocations: 326.8 kB / 490.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4341, allocations: 71.95 kB / 490.9 MB, free: 7.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.4343, allocations: 130.8 kB / 491 MB, free: 7.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.4347, allocations: 199.8 kB / 491.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.4347, allocations: 11.88 kB / 491.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008293/0.4355, allocations: 368 kB / 491.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4356, allocations: 8 kB / 491.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4356, allocations: 0 / 491.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.4359, allocations: 92.83 kB / 491.7 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4362, allocations: 55.84 kB / 491.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.4391, allocations: 1.943 MB / 493.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.4393, allocations: 27.78 kB / 493.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.4393, allocations: 11.98 kB / 493.7 MB, free: 4.938 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (24): * Single equations (assignments): 23 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.4395, allocations: 145.7 kB / 493.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.4396, allocations: 27.78 kB / 493.9 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.4396, allocations: 26.17 kB / 493.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4396, allocations: 0 / 493.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.4396, allocations: 0 / 493.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4396, allocations: 4 kB / 493.9 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.4408, allocations: 0.663 MB / 494.6 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4408, allocations: 4 kB / 494.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.441, allocations: 27.92 kB / 494.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.4413, allocations: 96.97 kB / 494.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4413, allocations: 4 kB / 494.7 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.444, allocations: 1.94 MB / 496.6 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.444, allocations: 0 / 496.6 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.4449, allocations: 478.3 kB / 497.1 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.445, allocations: 100.8 kB / 497.2 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.445, allocations: 4 kB / 497.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4452, allocations: 23.98 kB / 497.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.4453, allocations: 15.98 kB / 497.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4453, allocations: 4 kB / 497.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.4454, allocations: 168.4 kB / 497.4 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4454, allocations: 0 / 497.4 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005048/0.446, allocations: 79.84 kB / 497.5 MB, free: 0.9102 MB / 362.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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/0.4461, allocations: 111.1 kB / 497.6 MB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008773/0.447, allocations: 386.4 kB / 498 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.447, allocations: 3.938 kB / 498 MB, free: 408 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.4476, allocations: 294.8 kB / 498.3 MB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.448, allocations: 44.62 kB / 498.3 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4505, allocations: 1.027 MB / 499.3 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4509, allocations: 0.7521 MB / 0.4884 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.451, allocations: 21.95 kB / 0.4884 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.4511, allocations: 15.44 kB / 0.4884 GB, free: 14.18 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4511, allocations: 0 / 0.4884 GB, free: 14.18 MB / 378.7 MB Notification: Performance of Templates: time 0.006701/0.4578, allocations: 2.643 MB / 0.491 GB, free: 11.57 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches