Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001666/0.001666, allocations: 109.5 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.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.002147/0.002147, allocations: 184.2 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.92 kB / 370.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2665, allocations: 52.18 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004427/0.2709, allocations: 2.964 MB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2723, allocations: 0.744 MB / 426.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.2725, allocations: 4 kB / 426.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2727, allocations: 47.52 kB / 426.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.2729, allocations: 111.1 kB / 426.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.2732, allocations: 115.8 kB / 426.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.2737, allocations: 426.4 kB / 427.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2739, allocations: 79.69 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.2741, allocations: 167.4 kB / 427.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.2744, allocations: 175.2 kB / 427.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.2744, allocations: 40 kB / 427.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.2745, allocations: 40 kB / 427.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.2746, allocations: 75.77 kB / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.2748, allocations: 179.2 kB / 427.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.2753, allocations: 454.7 kB / 428.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2753, allocations: 0 / 428.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2753, allocations: 0 / 428.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2753, allocations: 0 / 428.2 MB, free: 8.996 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.001361/0.2766, allocations: 0.6052 MB / 428.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2767, allocations: 8.031 kB / 428.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.73e-05/0.2767, allocations: 62.72 kB / 428.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.2768, allocations: 32.75 kB / 428.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.2773, allocations: 249.8 kB / 429.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.2773, allocations: 20.88 kB / 429.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.2773, allocations: 32.36 kB / 429.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.2781, allocations: 326.8 kB / 429.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2781, allocations: 0 / 429.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.2781, allocations: 11.94 kB / 429.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2781, allocations: 8 kB / 429.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.279, allocations: 281.8 kB / 429.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.2809, allocations: 1.112 MB / 431 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.2817, allocations: 238.5 kB / 431.2 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.2821, allocations: 100.8 kB / 431.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2821, allocations: 4 kB / 431.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.2826, allocations: 177.9 kB / 431.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.2826, allocations: 0 / 431.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00233/0.2849, allocations: 0.5916 MB / 432.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.285, allocations: 106.8 kB / 432.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.2853, allocations: 293.7 kB / 432.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2853, allocations: 33.7 kB / 432.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2855, allocations: 196 kB / 432.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.2855, allocations: 47.62 kB / 432.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.2857, allocations: 49.94 kB / 432.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.2859, allocations: 334.8 kB / 433.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2863, allocations: 112.4 kB / 433.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.2867, allocations: 213.3 kB / 433.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.2874, allocations: 323.8 kB / 433.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2874, allocations: 0 / 433.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001271/0.2887, allocations: 479.7 kB / 434.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.2887, allocations: 41.69 kB / 434.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2888, allocations: 4 kB / 434.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.2891, allocations: 80.88 kB / 434.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2893, allocations: 55.89 kB / 434.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.2924, allocations: 1.953 MB / 436.3 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.2927, allocations: 63.8 kB / 436.4 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.2928, allocations: 11.94 kB / 436.4 MB, free: 336 kB / 334.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.0001681/0.2929, allocations: 149.8 kB / 436.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.293, allocations: 23.81 kB / 436.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.293, allocations: 29.77 kB / 436.6 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.293, allocations: 0 / 436.6 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.293, allocations: 12.12 kB / 436.6 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.293, allocations: 0 / 436.6 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.2934, allocations: 300.5 kB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2934, allocations: 0 / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2935, allocations: 19.92 kB / 436.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.2938, allocations: 84.8 kB / 437 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2938, allocations: 7.984 kB / 437 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.2963, allocations: 1.876 MB / 438.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2963, allocations: 4.031 kB / 438.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2974, allocations: 373.2 kB / 439.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.2974, allocations: 27.84 kB / 439.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.2975, allocations: 7.938 kB / 439.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.2977, allocations: 40.08 kB / 439.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.2978, allocations: 23.97 kB / 439.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2978, allocations: 0 / 439.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.298, allocations: 201.2 kB / 439.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.298, allocations: 0 / 439.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.2984, allocations: 83.83 kB / 439.6 MB, free: 12.9 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.00144/0.2999, allocations: 0.898 MB / 440.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3012, allocations: 0.4939 MB / 441 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3012, allocations: 0 / 441 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.3017, allocations: 231.2 kB / 441.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.302, allocations: 44.47 kB / 441.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/0.3095, allocations: 3.592 MB / 444.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3099, allocations: 0.7558 MB / 445.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.31, allocations: 26.28 kB / 445.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3102, allocations: 91.34 kB / 445.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3102, allocations: 0 / 445.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.3484, allocations: 7.031 MB / 452.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.94, allocations: 17.08 kB / 452.8 MB, free: 15.65 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.379169228999672]