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.001282/0.001282, 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.001393/0.001393, 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.381/1.381, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001496/0.001496, allocations: 47.92 kB / 377.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 53.36 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004844/0.2497, allocations: 3.119 MB / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2513, allocations: 0.8182 MB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.2515, allocations: 4 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2517, allocations: 51.44 kB / 435.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.2519, allocations: 123 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.2523, allocations: 127.8 kB / 435.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.2528, allocations: 462.2 kB / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.253, allocations: 105.1 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.2534, allocations: 179.4 kB / 436.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.2536, allocations: 199.1 kB / 436.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.2537, allocations: 44 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.2537, allocations: 44 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.2538, allocations: 87.69 kB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.254, allocations: 195.1 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.2545, allocations: 0.4942 MB / 437.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2546, allocations: 0 / 437.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2546, allocations: 4 kB / 437.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2546, allocations: 0 / 437.2 MB, free: 0.7773 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.001366/0.2559, allocations: 0.6394 MB / 437.8 MB, free: 100 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.256, allocations: 12.03 kB / 437.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.256, allocations: 62.72 kB / 437.9 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.2561, allocations: 40.75 kB / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2566, allocations: 252.9 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.2566, allocations: 29.02 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2567, allocations: 28.12 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.2574, allocations: 349 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2574, allocations: 0 / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.2574, allocations: 15.94 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2575, allocations: 11.98 kB / 438.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.2583, allocations: 302.4 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.2605, allocations: 1.226 MB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.2614, allocations: 246.3 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.2618, allocations: 136.8 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2618, allocations: 0 / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.2623, allocations: 200.6 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.2623, allocations: 0 / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002123/0.2644, allocations: 0.5681 MB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.2645, allocations: 110.8 kB / 441.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.2648, allocations: 300.4 kB / 441.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2649, allocations: 29.7 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2651, allocations: 212.4 kB / 441.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.2651, allocations: 59.53 kB / 442 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.2652, allocations: 61.64 kB / 442 MB, free: 11.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2654, allocations: 330.8 kB / 442.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.2657, allocations: 120.2 kB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.2662, allocations: 217.3 kB / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.2669, allocations: 343.6 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2669, allocations: 0 / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001285/0.2682, allocations: 481.5 kB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.2682, allocations: 37.7 kB / 443.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2682, allocations: 7.938 kB / 443.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.2685, allocations: 64.88 kB / 443.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.2688, allocations: 71.89 kB / 443.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.2712, allocations: 1.541 MB / 445.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.2715, allocations: 59.84 kB / 445.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2715, allocations: 12 kB / 445.3 MB, free: 8.207 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.0001994/0.2717, allocations: 153.7 kB / 445.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.2718, allocations: 35.75 kB / 445.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.2719, allocations: 26.14 kB / 445.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2719, allocations: 8 kB / 445.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2719, allocations: 0 / 445.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2719, allocations: 0 / 445.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.2735, allocations: 0.7604 MB / 446.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2735, allocations: 4.031 kB / 446.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2737, allocations: 51.89 kB / 446.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.274, allocations: 52.83 kB / 446.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.274, allocations: 7.984 kB / 446.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.2761, allocations: 1.545 MB / 447.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2761, allocations: 0 / 447.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.2775, allocations: 0.565 MB / 448.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.2776, allocations: 35.72 kB / 448.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2776, allocations: 0 / 448.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.2779, allocations: 36.02 kB / 448.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.278, allocations: 27.91 kB / 448.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.278, allocations: 4 kB / 448.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.2782, allocations: 219.1 kB / 448.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2782, allocations: 0 / 448.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.2786, allocations: 75.89 kB / 448.9 MB, free: 4.41 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.001787/0.2804, allocations: 1.1 MB / 450 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2815, allocations: 441 kB / 450.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2815, allocations: 0 / 450.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.2819, allocations: 234.5 kB / 450.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.2824, allocations: 71.75 kB / 450.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.2896, allocations: 3.659 MB / 454.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.2901, allocations: 0.7678 MB / 455.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.2902, allocations: 34.95 kB / 455.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.2904, allocations: 95.41 kB / 455.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2904, allocations: 4 kB / 455.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.3291, allocations: 7.48 MB / 462.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.77, allocations: 17.05 kB / 462.8 MB, free: 6.461 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: 15.179248762000498]