Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001881/0.001881, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002314/0.002314, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.LowPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2596, allocations: 53.37 MB / 431.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004643/0.2642, allocations: 2.878 MB / 434 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2656, allocations: 0.7754 MB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2658, allocations: 4 kB / 434.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.266, allocations: 55.38 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.2662, allocations: 123 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.2666, allocations: 127.8 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.2671, allocations: 458.3 kB / 435.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.2674, allocations: 105.4 kB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.2677, allocations: 187.3 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.268, allocations: 191.2 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.2681, allocations: 44 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.2681, allocations: 48 kB / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.2682, allocations: 91.67 kB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.2684, allocations: 159.2 kB / 436.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.2689, allocations: 0.4981 MB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.269, allocations: 0 / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.269, allocations: 0 / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.269, allocations: 4 kB / 436.8 MB, free: 1.031 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001405/0.2704, allocations: 0.6433 MB / 437.5 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2704, allocations: 8.031 kB / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.2705, allocations: 62.72 kB / 437.5 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.2706, allocations: 40.7 kB / 437.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.271, allocations: 253 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.2711, allocations: 21.03 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.2711, allocations: 32.12 kB / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.2719, allocations: 404.4 kB / 438.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2719, allocations: 0 / 438.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.2719, allocations: 12 kB / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2719, allocations: 4 kB / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.2728, allocations: 310.4 kB / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.275, allocations: 1.132 MB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.2758, allocations: 258 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.2762, allocations: 136.7 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2762, allocations: 0 / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005275/0.2767, allocations: 245.2 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.2767, allocations: 0 / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002082/0.2788, allocations: 0.5705 MB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.2789, allocations: 110.8 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.2793, allocations: 300.4 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2793, allocations: 33.7 kB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.2795, allocations: 216.3 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.2796, allocations: 59.48 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2797, allocations: 53.7 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2799, allocations: 334.8 kB / 442 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.2803, allocations: 145.9 kB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.2807, allocations: 298.4 kB / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.2815, allocations: 346.9 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2815, allocations: 0 / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00134/0.2829, allocations: 0.5054 MB / 443.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.2829, allocations: 29.7 kB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2829, allocations: 8.062 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.2832, allocations: 76.75 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.2835, allocations: 63.89 kB / 443.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.2861, allocations: 1.529 MB / 445 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.2864, allocations: 55.75 kB / 445 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2864, allocations: 16.06 kB / 445.1 MB, free: 8.266 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.2866, allocations: 153.8 kB / 445.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.2867, allocations: 31.8 kB / 445.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.2867, allocations: 30.14 kB / 445.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2867, allocations: 4 kB / 445.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2867, allocations: 0 / 445.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2867, allocations: 0 / 445.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.2883, allocations: 0.7216 MB / 446 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2883, allocations: 3.938 kB / 446 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.2885, allocations: 47.95 kB / 446 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.2887, allocations: 64.8 kB / 446.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2887, allocations: 3.984 kB / 446.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.2908, allocations: 1.533 MB / 447.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2908, allocations: 3.938 kB / 447.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.2922, allocations: 0.5632 MB / 448.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.2923, allocations: 23.89 kB / 448.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.2923, allocations: 8 kB / 448.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.2926, allocations: 40.02 kB / 448.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.2927, allocations: 27.89 kB / 448.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2927, allocations: 11.92 kB / 448.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.2929, allocations: 207.1 kB / 448.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2929, allocations: 0 / 448.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.2933, allocations: 87.84 kB / 448.6 MB, free: 4.508 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/0.2951, allocations: 1.111 MB / 449.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2962, allocations: 463.5 kB / 450.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2962, allocations: 0 / 450.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.2966, allocations: 235.3 kB / 450.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.297, allocations: 55.92 kB / 450.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/0.3043, allocations: 3.77 MB / 454.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3045, allocations: 163.8 kB / 454.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3046, allocations: 34.91 kB / 454.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.3048, allocations: 91.41 kB / 454.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3048, allocations: 4 kB / 454.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.345, allocations: 8.13 MB / 462.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.45, allocations: 5.688 kB / 462.6 MB, free: 6.391 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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_LowPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder.opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! Error: Could not read variable firstOrder.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.962111839005956]