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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008955, allocations: 76.06 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.859/0.859, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.968e-06/1.115e-05, allocations: 6.219 kB / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002201/0.002212, allocations: 2.516 MB / 321 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.002917, allocations: 0.6349 MB / 321.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.003011, allocations: 7.938 kB / 321.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.003128, allocations: 51.5 kB / 321.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.00325, allocations: 91.19 kB / 321.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.003445, allocations: 95.75 kB / 321.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.003677, allocations: 354.3 kB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.003827, allocations: 78.03 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.003993, allocations: 187.6 kB / 322.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.004104, allocations: 103.6 kB / 322.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.004143, allocations: 28 kB / 322.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.645e-05/0.004169, allocations: 32 kB / 322.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.004208, allocations: 59.75 kB / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.004278, allocations: 107.7 kB / 322.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.004511, allocations: 315 kB / 323.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004515, allocations: 7.984 kB / 323.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004516, allocations: 0 / 323.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004521, allocations: 0 / 323.1 MB, free: 1.641 MB / 282.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.0006454/0.005166, allocations: 0.5163 MB / 323.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.005201, allocations: 12.92 kB / 323.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.005247, allocations: 62.67 kB / 323.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.005289, allocations: 32.75 kB / 323.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.00553, allocations: 201.3 kB / 323.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005544, allocations: 16.88 kB / 324 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.005575, allocations: 24.38 kB / 324 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.00592, allocations: 356.4 kB / 324.3 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005928, allocations: 192 / 324.3 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.005948, allocations: 20.11 kB / 324.3 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005954, allocations: 4 kB / 324.4 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.006348, allocations: 209.9 kB / 324.6 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.007275, allocations: 0.9068 MB / 325.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.00757, allocations: 178.5 kB / 325.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.007806, allocations: 144.8 kB / 325.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.007826, allocations: 7.984 kB / 325.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.007846, allocations: 34.5 kB / 325.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.007847, allocations: 0 / 325.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009261/0.008773, allocations: 488.7 kB / 326.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.008802, allocations: 63.33 kB / 326.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.008956, allocations: 233.7 kB / 326.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.008971, allocations: 37.58 kB / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.009048, allocations: 180.1 kB / 326.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.009082, allocations: 71.42 kB / 326.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.009131, allocations: 45.7 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.009211, allocations: 330.8 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.009314, allocations: 71.97 kB / 327.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.00943, allocations: 134.8 kB / 327.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.009646, allocations: 205.7 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.009648, allocations: 0 / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004405/0.01009, allocations: 346.1 kB / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.0101, allocations: 11.98 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.01011, allocations: 0 / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.01032, allocations: 80.88 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01043, allocations: 51.91 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.01192, allocations: 1.883 MB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.01201, allocations: 35.84 kB / 330 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01202, allocations: 11.98 kB / 330 MB, free: 10.3 MB / 298.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 (25): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/0.01211, allocations: 137.7 kB / 330.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.01213, allocations: 23.86 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.01216, allocations: 22.12 kB / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01216, allocations: 12.02 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01216, allocations: 0 / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01217, allocations: 0 / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.01278, allocations: 0.6034 MB / 330.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01279, allocations: 3.984 kB / 330.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.01287, allocations: 35.98 kB / 330.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.01302, allocations: 72.73 kB / 331 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01303, allocations: 8 kB / 331 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.01438, allocations: 1.801 MB / 332.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01438, allocations: 3.984 kB / 332.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.01487, allocations: 462.5 kB / 333.2 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.01489, allocations: 19.94 kB / 333.2 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.0149, allocations: 8 kB / 333.2 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.015, allocations: 15.98 kB / 333.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.01502, allocations: 15.97 kB / 333.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01502, allocations: 4 kB / 333.3 MB, free: 6.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.419e-05/0.01512, allocations: 177.2 kB / 333.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01512, allocations: 0 / 333.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01537, allocations: 71.84 kB / 333.5 MB, free: 6.633 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006447/0.01602, allocations: 0.9902 MB / 334.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.01651, allocations: 369.7 kB / 334.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01651, allocations: 0 / 334.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.01666, allocations: 205.7 kB / 335.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.01691, allocations: 32.72 kB / 335.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.0198, allocations: 3.042 MB / 338.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.666e-05/0.01988, allocations: 138.2 kB / 338.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.01993, allocations: 25.94 kB / 338.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.02001, allocations: 76.47 kB / 338.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02001, allocations: 0 / 338.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.03899, allocations: 6.14 MB / 344.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/7.888, allocations: 15.97 kB / 344.5 MB, free: 11.57 MB / 314.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.0.0_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.568921836093068]