Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0009719/0.0009719, allocations: 83.69 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.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.0009523/0.0009523, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9302/0.9302, allocations: 177.2 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.922e-05, allocations: 6.219 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003194/0.003213, allocations: 2.765 MB / 327.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.004203, allocations: 0.7363 MB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.00433, allocations: 7.938 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.004468, allocations: 55.5 kB / 328.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.004609, allocations: 99.12 kB / 328.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.004856, allocations: 131.7 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.005177, allocations: 426.2 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.005348, allocations: 83.67 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.005538, allocations: 231.5 kB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.005673, allocations: 131.6 kB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.005717, allocations: 40 kB / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.005753, allocations: 40 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.005805, allocations: 83.67 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.005898, allocations: 119.7 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.00624, allocations: 466.6 kB / 330 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.006244, allocations: 4 kB / 330 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006245, allocations: 7.938 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.00625, allocations: 0 / 330 MB, free: 10.48 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008439/0.007094, allocations: 0.6123 MB / 330.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.00713, allocations: 8.031 kB / 330.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.007178, allocations: 62.72 kB / 330.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.007229, allocations: 40.7 kB / 330.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.007523, allocations: 237.2 kB / 331 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.00754, allocations: 20.88 kB / 331 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.007568, allocations: 24.38 kB / 331 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.008034, allocations: 382.6 kB / 331.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.008043, allocations: 192 / 331.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.008066, allocations: 20.06 kB / 331.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.008073, allocations: 4 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.008524, allocations: 289.8 kB / 331.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.009842, allocations: 1.023 MB / 332.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.01035, allocations: 242.5 kB / 332.9 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.01052, allocations: 100.8 kB / 333 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.01054, allocations: 4 kB / 333 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.01087, allocations: 229.3 kB / 333.3 MB, free: 7.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.01087, allocations: 0 / 333.3 MB, free: 7.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001281/0.01215, allocations: 0.5909 MB / 333.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.01221, allocations: 110.8 kB / 334 MB, free: 6.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.01268, allocations: 293.7 kB / 334.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.0127, allocations: 33.7 kB / 334.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.01279, allocations: 196.1 kB / 334.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.01282, allocations: 47.64 kB / 334.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.01288, allocations: 53.89 kB / 334.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.01297, allocations: 338.8 kB / 334.9 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.01317, allocations: 133.8 kB / 335 MB, free: 5.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.01342, allocations: 294.3 kB / 335.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.01381, allocations: 319.5 kB / 335.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01381, allocations: 4 kB / 335.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000692/0.0145, allocations: 0.4975 MB / 336.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.01454, allocations: 33.7 kB / 336.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01455, allocations: 7.984 kB / 336.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.0148, allocations: 88.84 kB / 336.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01491, allocations: 52.12 kB / 336.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.01657, allocations: 1.937 MB / 338.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.01673, allocations: 59.73 kB / 338.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01675, allocations: 12 kB / 338.3 MB, free: 1.617 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001258/0.01687, allocations: 157.7 kB / 338.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.0169, allocations: 27.88 kB / 338.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.01693, allocations: 25.77 kB / 338.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01693, allocations: 0 / 338.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01693, allocations: 4 kB / 338.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01693, allocations: 3.984 kB / 338.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.01712, allocations: 260.6 kB / 338.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01712, allocations: 0 / 338.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.01719, allocations: 27.91 kB / 338.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.01735, allocations: 80.81 kB / 338.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01737, allocations: 3.984 kB / 338.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.01875, allocations: 1.867 MB / 340.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01876, allocations: 0 / 340.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.01957, allocations: 373.5 kB / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.0196, allocations: 19.86 kB / 341.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01962, allocations: 4 kB / 341.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01973, allocations: 39.95 kB / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.0198, allocations: 23.91 kB / 341.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.01981, allocations: 0 / 341.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.01995, allocations: 205.2 kB / 341.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01995, allocations: 0 / 341.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.02023, allocations: 75.89 kB / 341.5 MB, free: 14.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007542/0.02098, allocations: 0.9058 MB / 342.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007473/0.02173, allocations: 0.5115 MB / 342.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02173, allocations: 0 / 342.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.02202, allocations: 238.5 kB / 343.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.02229, allocations: 40.8 kB / 343.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.02666, allocations: 3.71 MB / 346.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.02675, allocations: 146.9 kB / 347 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.664e-05/0.02684, allocations: 26.33 kB / 347.1 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.02694, allocations: 88.47 kB / 347.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02694, allocations: 4 kB / 347.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.05059, allocations: 7.708 MB / 354.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/7.884, allocations: 3.938 kB / 354.9 MB, free: 0.7812 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable buffer.opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.728292935527861]