Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001822/0.001822, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002147/0.002147, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 51.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2527, allocations: 53.37 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004273/0.2569, allocations: 2.753 MB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2583, allocations: 0.7324 MB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.2584, allocations: 4 kB / 434.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.2586, allocations: 47.5 kB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.2588, allocations: 103.2 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2591, allocations: 123.8 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.2595, allocations: 414.4 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.2597, allocations: 85.34 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.2599, allocations: 167.4 kB / 435.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.2601, allocations: 151.3 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.2602, allocations: 40 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.2603, allocations: 40 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.2603, allocations: 83.69 kB / 435.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2605, allocations: 147.4 kB / 436 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.261, allocations: 446.3 kB / 436.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.261, allocations: 4 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.261, allocations: 0 / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.261, allocations: 0 / 436.4 MB, free: 1.266 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.001308/0.2623, allocations: 0.6092 MB / 437 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2623, allocations: 8.031 kB / 437 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.012e-05/0.2624, allocations: 66.72 kB / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.2625, allocations: 36.7 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.2629, allocations: 253.7 kB / 437.4 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2629, allocations: 20.88 kB / 437.4 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.263, allocations: 28.36 kB / 437.4 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.2637, allocations: 374.2 kB / 437.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2637, allocations: 7.984 kB / 437.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.2638, allocations: 8 kB / 437.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2638, allocations: 11.94 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/0.2646, allocations: 289.8 kB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.2664, allocations: 1.018 MB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/0.2672, allocations: 238.6 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.2676, allocations: 108.7 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2676, allocations: 0 / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005049/0.2681, allocations: 233.3 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.2681, allocations: 0 / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002267/0.2703, allocations: 0.5867 MB / 440.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.2704, allocations: 106.8 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.2708, allocations: 289.8 kB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.2708, allocations: 29.7 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.271, allocations: 204 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.271, allocations: 43.67 kB / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.2711, allocations: 53.89 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2713, allocations: 334.8 kB / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.2716, allocations: 142.1 kB / 441.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.2721, allocations: 286.1 kB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.2728, allocations: 310.9 kB / 442 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2729, allocations: 3.938 kB / 442 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001282/0.2741, allocations: 0.4974 MB / 442.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.2742, allocations: 37.69 kB / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2742, allocations: 0 / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003647/0.2746, allocations: 84.88 kB / 442.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.2748, allocations: 51.89 kB / 442.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.2775, allocations: 1.867 MB / 444.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.2779, allocations: 59.94 kB / 444.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.2779, allocations: 19.92 kB / 444.7 MB, free: 8.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.0001699/0.2781, allocations: 149.8 kB / 444.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.2781, allocations: 23.86 kB / 444.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.2782, allocations: 25.77 kB / 444.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2782, allocations: 8 kB / 444.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2782, allocations: 0 / 444.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.2782, allocations: 0 / 444.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.2785, allocations: 268.5 kB / 445.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2785, allocations: 0 / 445.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2786, allocations: 27.91 kB / 445.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/0.2789, allocations: 80.8 kB / 445.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2789, allocations: 4 kB / 445.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.2812, allocations: 1.69 MB / 446.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2812, allocations: 64 / 446.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2823, allocations: 369.5 kB / 447.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.2824, allocations: 31.78 kB / 447.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2824, allocations: 0 / 447.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2826, allocations: 35.95 kB / 447.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.2827, allocations: 23.97 kB / 447.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2827, allocations: 7.938 kB / 447.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.283, allocations: 201.2 kB / 447.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.283, allocations: 0 / 447.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.2833, allocations: 79.84 kB / 447.6 MB, free: 5.293 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.001479/0.2848, allocations: 0.9077 MB / 448.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.2859, allocations: 454.2 kB / 449 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2859, allocations: 3.938 kB / 449 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.2864, allocations: 238.5 kB / 449.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.2867, allocations: 55.45 kB / 449.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.2923, allocations: 3.224 MB / 452.5 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.2925, allocations: 146.9 kB / 452.7 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.2926, allocations: 26.34 kB / 452.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2927, allocations: 83.34 kB / 452.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2927, allocations: 0 / 452.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.3308, allocations: 7.561 MB / 460.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.66, allocations: 0 / 460.3 MB, free: 8.539 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_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_InvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gain.opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv. Warning: Get data of variable gain.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv failed! Error: Could not read variable gain.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv. Warning: Get data of variable gain.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.116720051970333]