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.0008725/0.0008725, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009397/0.0009397, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8908/0.8908, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 2.054e-06/2.054e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.37e-05, allocations: 3.125 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002803/0.002826, allocations: 2.548 MB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.003704, allocations: 0.6505 MB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.003816, allocations: 4 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003944, allocations: 51.45 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.004086, allocations: 99.12 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.004251, allocations: 75.83 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.004506, allocations: 358.1 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.004671, allocations: 70.05 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.004949, allocations: 203.5 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005076, allocations: 111.6 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.00511, allocations: 28 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.005137, allocations: 28 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.005174, allocations: 63.75 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.005244, allocations: 103.7 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.005495, allocations: 326.9 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005498, allocations: 0 / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005499, allocations: 0 / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.005505, allocations: 0 / 329.3 MB, free: 11.12 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005939/0.006099, allocations: 0.5132 MB / 329.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.006138, allocations: 11.98 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.00619, allocations: 62.72 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.006236, allocations: 32.75 kB / 329.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.006519, allocations: 215.2 kB / 330.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.006536, allocations: 21.03 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.006568, allocations: 24.38 kB / 330.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.006869, allocations: 341.4 kB / 330.5 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006879, allocations: 4.172 kB / 330.5 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.006901, allocations: 12.12 kB / 330.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.006907, allocations: 8 kB / 330.5 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.007111, allocations: 186.5 kB / 330.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009603/0.008071, allocations: 0.8333 MB / 331.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.008334, allocations: 163.3 kB / 331.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.008552, allocations: 136.8 kB / 331.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.008572, allocations: 4 kB / 331.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.008593, allocations: 34.56 kB / 331.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.008595, allocations: 0 / 331.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006681/0.009263, allocations: 354.4 kB / 332.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.009291, allocations: 55.41 kB / 332.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.009454, allocations: 241.7 kB / 332.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.00947, allocations: 29.7 kB / 332.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.009552, allocations: 180.2 kB / 332.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.009587, allocations: 71.38 kB / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.009637, allocations: 45.7 kB / 332.8 MB, free: 7.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.085e-05/0.009718, allocations: 338.8 kB / 333.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.009787, allocations: 71.89 kB / 333.2 MB, free: 6.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.009877, allocations: 106 kB / 333.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.01004, allocations: 169.9 kB / 333.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01004, allocations: 0 / 333.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003439/0.01039, allocations: 298 kB / 333.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.0104, allocations: 4 kB / 333.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01041, allocations: 4 kB / 333.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.01063, allocations: 72.86 kB / 333.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01073, allocations: 51.97 kB / 333.9 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.01208, allocations: 1.799 MB / 335.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.01217, allocations: 27.78 kB / 335.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.01218, allocations: 4 kB / 335.7 MB, free: 4.258 MB / 298.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: 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 9.897e-05/0.01228, allocations: 145.7 kB / 335.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.01231, allocations: 23.86 kB / 335.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.01234, allocations: 26.12 kB / 335.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01234, allocations: 8.062 kB / 335.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01234, allocations: 0 / 335.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01234, allocations: 11.86 kB / 335.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.01289, allocations: 0.556 MB / 336.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.0129, allocations: 3.938 kB / 336.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.01299, allocations: 39.91 kB / 336.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.01313, allocations: 72.8 kB / 336.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.01314, allocations: 4 kB / 336.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.01429, allocations: 1.795 MB / 338.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01429, allocations: 4.031 kB / 338.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.01465, allocations: 395.8 kB / 338.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01468, allocations: 19.89 kB / 338.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.01469, allocations: 4 kB / 338.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.01479, allocations: 19.98 kB / 338.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.01483, allocations: 19.84 kB / 338.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01484, allocations: 11.98 kB / 338.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.843e-05/0.01494, allocations: 165.2 kB / 339 MB, free: 0.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01494, allocations: 0 / 339 MB, free: 0.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000289/0.01523, allocations: 87.84 kB / 339.1 MB, free: 0.6641 MB / 298.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: 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.0005622/0.01579, allocations: 0.923 MB / 340 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.01614, allocations: 286.7 kB / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01615, allocations: 4.125 kB / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01629, allocations: 198.6 kB / 340.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.01656, allocations: 36.7 kB / 340.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.01867, allocations: 2.621 MB / 343.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.01876, allocations: 150.9 kB / 343.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.01883, allocations: 30.22 kB / 343.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.01891, allocations: 76.47 kB / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01891, allocations: 0 / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.04226, allocations: 6.492 MB / 349.9 MB, free: 5.793 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/7.929, allocations: 7.75 kB / 349.9 MB, free: 5.789 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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: 9.680241129361093]