Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 208.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 51.91 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2578, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003967/0.2618, allocations: 2.536 MB / 433.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.263, allocations: 0.6739 MB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2632, allocations: 4 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.2633, allocations: 51.52 kB / 434.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.2635, allocations: 83.25 kB / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.2638, allocations: 91.83 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.2642, allocations: 342.5 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.2644, allocations: 87.66 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.2647, allocations: 135.5 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.2649, allocations: 135.4 kB / 435.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.2649, allocations: 28 kB / 435.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.265, allocations: 28 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.265, allocations: 67.75 kB / 435.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2651, allocations: 127.4 kB / 435.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2655, allocations: 314.7 kB / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2655, allocations: 0 / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2655, allocations: 4 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.2655, allocations: 0 / 435.8 MB, free: 1.945 MB / 334.1 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.0009908/0.2665, allocations: 0.517 MB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2665, allocations: 8.031 kB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.316e-05/0.2666, allocations: 66.72 kB / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.2667, allocations: 28.75 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.267, allocations: 213.9 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2671, allocations: 16.88 kB / 436.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.2671, allocations: 24.38 kB / 436.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.2677, allocations: 364 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2677, allocations: 0 / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2677, allocations: 8 kB / 437 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2677, allocations: 4 kB / 437 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.2682, allocations: 209.8 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.2698, allocations: 0.9063 MB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.2703, allocations: 182.5 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.2707, allocations: 145 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.2707, allocations: 3.906 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2707, allocations: 42.55 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2707, allocations: 0 / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001728/0.2724, allocations: 488.6 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2725, allocations: 55.41 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.2727, allocations: 244.8 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2728, allocations: 25.7 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2729, allocations: 180.2 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.2729, allocations: 71.41 kB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.273, allocations: 49.66 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2731, allocations: 330.8 kB / 439.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.2733, allocations: 71.95 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2735, allocations: 127.6 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.2739, allocations: 210.6 kB / 440.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2739, allocations: 3.938 kB / 440.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008637/0.2748, allocations: 353.2 kB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2748, allocations: 8 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2748, allocations: 0 / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.2752, allocations: 76.8 kB / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2754, allocations: 51.98 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.2782, allocations: 1.894 MB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2784, allocations: 31.83 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2784, allocations: 4 kB / 442.7 MB, free: 10.59 MB / 350.1 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 0.0001409/0.2786, allocations: 145.7 kB / 442.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.2786, allocations: 23.97 kB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.2787, allocations: 26.11 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2787, allocations: 4 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2787, allocations: 0 / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2787, allocations: 0 / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.2799, allocations: 0.5997 MB / 443.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2799, allocations: 0 / 443.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.28, allocations: 35.92 kB / 443.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.2803, allocations: 72.8 kB / 443.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2803, allocations: 8.125 kB / 443.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.2828, allocations: 1.82 MB / 445.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2828, allocations: 3.938 kB / 445.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.2837, allocations: 458.5 kB / 445.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.2838, allocations: 15.89 kB / 445.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2838, allocations: 8 kB / 445.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.284, allocations: 24.03 kB / 446 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.284, allocations: 11.98 kB / 446 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.284, allocations: 7.938 kB / 446 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.2842, allocations: 172.5 kB / 446.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2842, allocations: 0 / 446.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004337/0.2846, allocations: 67.89 kB / 446.2 MB, free: 6.918 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: 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.001316/0.286, allocations: 0.9969 MB / 447.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009606/0.2869, allocations: 358.4 kB / 447.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2869, allocations: 0 / 447.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.2872, allocations: 202.5 kB / 447.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.2876, allocations: 45.08 kB / 447.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/0.2935, allocations: 3.085 MB / 450.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.2937, allocations: 146.1 kB / 451 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.2938, allocations: 21.95 kB / 451.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.294, allocations: 71.41 kB / 451.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.294, allocations: 0 / 451.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.3323, allocations: 6.082 MB / 457.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.46, allocations: 0 / 457.2 MB, free: 11.9 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.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: 14.977441444003489]