Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001951/0.001951, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002466/0.002466, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 373 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 53.38 MB / 426.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004331/0.121, allocations: 2.743 MB / 429.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1224, allocations: 0.6817 MB / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1225, allocations: 11.88 kB / 429.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.1227, allocations: 47.5 kB / 429.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1229, allocations: 95.25 kB / 430 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1231, allocations: 71.84 kB / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.1235, allocations: 338.5 kB / 430.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1237, allocations: 81.7 kB / 430.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.124, allocations: 135.5 kB / 430.6 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1242, allocations: 147.3 kB / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.1243, allocations: 28 kB / 430.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.1243, allocations: 28 kB / 430.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.1244, allocations: 63.81 kB / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2399/0.3643, allocations: 151.2 kB / 431 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.3649, allocations: 322.2 kB / 431.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.3649, allocations: 2.438 kB / 431.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3649, allocations: 1.375 kB / 431.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3649, allocations: 0 / 431.3 MB, free: 7.969 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009282/0.3658, allocations: 0.5809 MB / 431.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3659, allocations: 10.97 kB / 431.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.3659, allocations: 62.3 kB / 432 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.366, allocations: 37.92 kB / 432 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.3664, allocations: 269.7 kB / 432.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3664, allocations: 18.03 kB / 432.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.3664, allocations: 26.42 kB / 432.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.3669, allocations: 246.3 kB / 432.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3669, allocations: 0 / 432.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3669, allocations: 10.16 kB / 432.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3669, allocations: 6.188 kB / 432.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.3673, allocations: 183.1 kB / 432.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3687, allocations: 0.9363 MB / 433.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.369, allocations: 152.9 kB / 433.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.3693, allocations: 137 kB / 434 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3693, allocations: 2.188 kB / 434 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3694, allocations: 39.8 kB / 434 MB, free: 6.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.3694, allocations: 3.828 kB / 434 MB, free: 6.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00117/0.3705, allocations: 434.3 kB / 434.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.3706, allocations: 53.78 kB / 434.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.3708, allocations: 230.7 kB / 434.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3708, allocations: 31.17 kB / 434.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.3709, allocations: 188.5 kB / 434.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.3709, allocations: 70.45 kB / 435 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.371, allocations: 49.64 kB / 435 MB, free: 6.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.3711, allocations: 338.8 kB / 435.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3712, allocations: 59.3 kB / 435.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3713, allocations: 114.9 kB / 435.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.3715, allocations: 175 kB / 435.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3715, allocations: 1.062 kB / 435.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005838/0.3721, allocations: 298.4 kB / 436 MB, free: 5.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3721, allocations: 5.312 kB / 436 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3721, allocations: 2.812 kB / 436 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003893/0.3725, allocations: 71.33 kB / 436.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3728, allocations: 54.5 kB / 436.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.3749, allocations: 1.903 MB / 438 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3751, allocations: 28.14 kB / 438.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3751, allocations: 11.19 kB / 438.1 MB, free: 4.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.3752, allocations: 143 kB / 438.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.3753, allocations: 23.31 kB / 438.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3753, allocations: 25.61 kB / 438.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3753, allocations: 3.188 kB / 438.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3753, allocations: 1.891 kB / 438.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3753, allocations: 0.5625 kB / 438.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.3762, allocations: 0.6218 MB / 438.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3762, allocations: 0 / 438.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.3764, allocations: 38.97 kB / 438.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/0.3767, allocations: 74.12 kB / 439 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3767, allocations: 2.656 kB / 439 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.3785, allocations: 1.917 MB / 440.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3785, allocations: 0 / 440.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.3791, allocations: 393.6 kB / 441.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.3792, allocations: 109.7 kB / 441.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3792, allocations: 5.828 kB / 441.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3794, allocations: 18.55 kB / 441.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.3795, allocations: 17.73 kB / 441.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3795, allocations: 3.281 kB / 441.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.3796, allocations: 169.9 kB / 441.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 1.125 kB / 441.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004765/0.3801, allocations: 80.39 kB / 441.7 MB, free: 1.566 MB / 350.1 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008819/0.381, allocations: 0.9269 MB / 442.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.3815, allocations: 282.1 kB / 442.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3815, allocations: 0 / 442.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.3818, allocations: 209.2 kB / 443.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3822, allocations: 43.73 kB / 443.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.3862, allocations: 2.681 MB / 445.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.3866, allocations: 0.7549 MB / 446.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3867, allocations: 27.19 kB / 446.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3869, allocations: 78.66 kB / 446.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3869, allocations: 0 / 446.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.4251, allocations: 5.8 MB / 452.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.44, allocations: 3.203 kB / 452.5 MB, free: 13.18 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv --start-time 0 --stop-time 0.01 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 1.001e-05 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:time,c.v,l.i [Calling sys.exit(0), Time elapsed: 15.034463514923118]