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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001526/0.001526, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.698/1.698, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.002025/0.002025, allocations: 59.91 kB / 377.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2566, allocations: 53.42 MB / 431.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004228/0.2608, allocations: 2.542 MB / 433.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.262, allocations: 0.6466 MB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2621, allocations: 7.938 kB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2622, allocations: 47.56 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2624, allocations: 99.17 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2626, allocations: 71.91 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.263, allocations: 342.4 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2632, allocations: 79.66 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2635, allocations: 131.5 kB / 435.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2637, allocations: 123.4 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.2637, allocations: 28 kB / 435.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.524e-05/0.2638, allocations: 31.94 kB / 435.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.2638, allocations: 63.77 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.264, allocations: 127.4 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.2643, allocations: 330.6 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2643, allocations: 0 / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.2643, allocations: 4 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2643, allocations: 0 / 435.8 MB, free: 1.75 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008495/0.2652, allocations: 0.5054 MB / 436.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2652, allocations: 15.97 kB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.556e-05/0.2653, allocations: 62.73 kB / 436.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.2654, allocations: 32.75 kB / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.2657, allocations: 215.9 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.2658, allocations: 21.03 kB / 436.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.2658, allocations: 24.38 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.2663, allocations: 341 kB / 437 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2663, allocations: 4 kB / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.2663, allocations: 8 kB / 437 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2663, allocations: 11.94 kB / 437.1 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.2666, allocations: 182.5 kB / 437.2 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.2682, allocations: 0.8405 MB / 438.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.2686, allocations: 157.9 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.2689, allocations: 136.8 kB / 438.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2689, allocations: 4 kB / 438.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.269, allocations: 34.56 kB / 438.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.269, allocations: 0 / 438.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001119/0.2701, allocations: 369.3 kB / 438.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.2701, allocations: 59.34 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2704, allocations: 240.8 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2704, allocations: 29.7 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2705, allocations: 180.2 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.2706, allocations: 71.38 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.2707, allocations: 49.7 kB / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2708, allocations: 330.8 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2709, allocations: 55.98 kB / 439.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.2711, allocations: 110 kB / 439.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.2713, allocations: 182.7 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2713, allocations: 0 / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005611/0.2719, allocations: 290 kB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2719, allocations: 8.188 kB / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2719, allocations: 7.984 kB / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.2723, allocations: 68.8 kB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.2724, allocations: 51.91 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.2747, allocations: 1.801 MB / 442.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2749, allocations: 27.84 kB / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2749, allocations: 12 kB / 442.3 MB, free: 10.88 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.0001391/0.275, allocations: 145.3 kB / 442.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.2751, allocations: 27.8 kB / 442.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.2751, allocations: 26.11 kB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2751, allocations: 4 kB / 442.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2751, allocations: 0 / 442.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2751, allocations: 0 / 442.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.276, allocations: 0.5684 MB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.276, allocations: 0 / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.2762, allocations: 31.98 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.2765, allocations: 72.72 kB / 443.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2765, allocations: 12 kB / 443.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.2785, allocations: 1.787 MB / 445 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2785, allocations: 4.031 kB / 445 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.2791, allocations: 394.5 kB / 445.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.2792, allocations: 23.89 kB / 445.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.2792, allocations: 3.938 kB / 445.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.2794, allocations: 24.11 kB / 445.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.2795, allocations: 15.97 kB / 445.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2795, allocations: 4 kB / 445.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.2796, allocations: 172.5 kB / 445.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2796, allocations: 3.938 kB / 445.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.2801, allocations: 87.78 kB / 445.7 MB, free: 7.301 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.0009455/0.281, allocations: 0.9239 MB / 446.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.2815, allocations: 281 kB / 446.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2815, allocations: 0 / 446.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.2818, allocations: 202.6 kB / 447.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.2822, allocations: 45.28 kB / 447.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.2856, allocations: 2.688 MB / 449.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.2858, allocations: 146.9 kB / 450 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.228e-05/0.2859, allocations: 30.27 kB / 450 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.286, allocations: 71.42 kB / 450 MB, free: 2.727 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.286, allocations: 4 kB / 450.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.3238, allocations: 6.342 MB / 456.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.88, allocations: 8 kB / 456.4 MB, free: 12.51 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.652955258730799]