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.001792/0.001792, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002184/0.002184, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8 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.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 0.001476/0.001476, allocations: 47.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 53.36 MB / 431.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00457/0.2466, allocations: 2.988 MB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2481, allocations: 0.7712 MB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2482, allocations: 7.938 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.2484, allocations: 51.5 kB / 435 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.2486, allocations: 99.19 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2489, allocations: 123.8 kB / 435.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.2493, allocations: 414.4 kB / 435.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2495, allocations: 93.34 kB / 435.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.2497, allocations: 159.5 kB / 435.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.25, allocations: 183.2 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.25, allocations: 40 kB / 436.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-05/0.2501, allocations: 40 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.2502, allocations: 79.7 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.2504, allocations: 179.1 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.2509, allocations: 446.3 kB / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2509, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2509, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2509, allocations: 0 / 436.8 MB, free: 1.188 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.001306/0.2522, allocations: 0.6091 MB / 437.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2522, allocations: 16.02 kB / 437.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.996e-05/0.2523, allocations: 58.73 kB / 437.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.2524, allocations: 40.7 kB / 437.5 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.2528, allocations: 245.8 kB / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2528, allocations: 24.86 kB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.2529, allocations: 24.38 kB / 437.8 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.2536, allocations: 326.9 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2536, allocations: 0 / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2536, allocations: 8 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.2536, allocations: 11.98 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.2544, allocations: 293.7 kB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2563, allocations: 1.096 MB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.2571, allocations: 238.6 kB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.2574, allocations: 100.8 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2574, allocations: 4 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.2579, allocations: 182 kB / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2579, allocations: 0 / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002208/0.2601, allocations: 0.5993 MB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.2602, allocations: 106.8 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.2605, allocations: 285.8 kB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.2605, allocations: 29.7 kB / 441 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2607, allocations: 207.9 kB / 441.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.2607, allocations: 47.69 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.2608, allocations: 49.89 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.261, allocations: 338.8 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.2613, allocations: 104.2 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.2617, allocations: 217.2 kB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.2624, allocations: 323.5 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2624, allocations: 0 / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001246/0.2637, allocations: 475.7 kB / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2637, allocations: 33.7 kB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.2637, allocations: 4 kB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/0.2641, allocations: 92.86 kB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.2643, allocations: 51.89 kB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.2673, allocations: 1.964 MB / 444.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.2676, allocations: 55.75 kB / 445 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2676, allocations: 19.98 kB / 445 MB, free: 8.496 MB / 350.1 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.0001651/0.2678, allocations: 149.8 kB / 445.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.2678, allocations: 23.86 kB / 445.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.2679, allocations: 25.77 kB / 445.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2679, allocations: 0 / 445.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2679, allocations: 4 kB / 445.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2679, allocations: 0 / 445.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.2682, allocations: 304.4 kB / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2682, allocations: 0 / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.2683, allocations: 20.11 kB / 445.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.2686, allocations: 80.8 kB / 445.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2686, allocations: 11.98 kB / 445.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.2711, allocations: 1.867 MB / 447.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2711, allocations: 0 / 447.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2722, allocations: 375.9 kB / 447.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.2722, allocations: 31.8 kB / 447.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.2723, allocations: 3.938 kB / 447.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2725, allocations: 39.89 kB / 447.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.2726, allocations: 19.97 kB / 447.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2726, allocations: 0 / 447.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2728, allocations: 209.2 kB / 448.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2728, allocations: 3.938 kB / 448.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.2732, allocations: 79.83 kB / 448.2 MB, free: 5.086 MB / 350.1 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.001384/0.2746, allocations: 0.9037 MB / 449.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.2758, allocations: 494.1 kB / 449.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2758, allocations: 0 / 449.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.2763, allocations: 234.1 kB / 449.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2766, allocations: 65.05 kB / 449.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00726/0.2839, allocations: 3.585 MB / 453.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2843, allocations: 0.7522 MB / 454.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.2844, allocations: 26.28 kB / 454.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.2845, allocations: 83.41 kB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.2845, allocations: 3.938 kB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.3234, allocations: 7.077 MB / 461.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.49, allocations: 2.234 kB / 461.4 MB, free: 7.809 MB / 366.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/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: 14.997620692000055]