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.001709/0.001709, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002036/0.002036, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.441/1.441, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00151/0.00151, allocations: 47.94 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.105, allocations: 53.33 MB / 426.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004477/0.1095, allocations: 3.091 MB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.111, allocations: 0.8181 MB / 430.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.1112, allocations: 4 kB / 430.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1114, allocations: 51.44 kB / 430.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1117, allocations: 119.1 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1121, allocations: 131.7 kB / 430.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.1126, allocations: 458.2 kB / 431 MB, free: 64 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1912/0.3038, allocations: 94.09 kB / 431.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.3043, allocations: 184.1 kB / 431.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3046, allocations: 193 kB / 431.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.3046, allocations: 45.72 kB / 431.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.3047, allocations: 45.16 kB / 431.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3048, allocations: 88 kB / 431.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.3049, allocations: 197.7 kB / 431.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.3054, allocations: 0.4895 MB / 432.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3054, allocations: 0.5625 kB / 432.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3054, allocations: 0.9062 kB / 432.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3054, allocations: 4.875 kB / 432.3 MB, free: 7.562 MB / 350.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.001306/0.3067, allocations: 0.7157 MB / 433 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3068, allocations: 10.59 kB / 433.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.3068, allocations: 65.77 kB / 433.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.636e-05/0.3069, allocations: 41.97 kB / 433.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.3073, allocations: 308.4 kB / 433.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3074, allocations: 29.36 kB / 433.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.3074, allocations: 29.28 kB / 433.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.3081, allocations: 349.5 kB / 433.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3081, allocations: 5.062 kB / 433.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3082, allocations: 11.09 kB / 433.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3082, allocations: 6.75 kB / 433.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008565/0.309, allocations: 306.6 kB / 434.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.3112, allocations: 1.262 MB / 435.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000857/0.312, allocations: 325.5 kB / 435.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.3125, allocations: 132.9 kB / 435.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.3125, allocations: 2.406 kB / 435.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.313, allocations: 197.6 kB / 436.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.864e-06/0.313, allocations: 1.062 kB / 436.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002339/0.3154, allocations: 0.645 MB / 436.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3154, allocations: 108.8 kB / 436.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.3158, allocations: 296.5 kB / 437.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3159, allocations: 31.72 kB / 437.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.316, allocations: 210.9 kB / 437.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3161, allocations: 61.72 kB / 437.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3162, allocations: 58.25 kB / 437.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.3163, allocations: 341 kB / 437.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.3166, allocations: 116.9 kB / 437.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.317, allocations: 214.9 kB / 438.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.3178, allocations: 342.3 kB / 438.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3178, allocations: 3.25 kB / 438.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001235/0.319, allocations: 487.8 kB / 439 MB, free: 4.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.319, allocations: 32.94 kB / 439 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.319, allocations: 2.219 kB / 439 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.3194, allocations: 70.78 kB / 439.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.3197, allocations: 73.67 kB / 439.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.3216, allocations: 1.631 MB / 440.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3219, allocations: 60.05 kB / 440.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.322, allocations: 14.53 kB / 440.8 MB, free: 3.113 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.0001362/0.3221, allocations: 149.5 kB / 441 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.3221, allocations: 28.03 kB / 441 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.3222, allocations: 36.55 kB / 441 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3222, allocations: 2.844 kB / 441 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3222, allocations: 5.859 kB / 441.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3222, allocations: 0.8438 kB / 441.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3237, allocations: 0.7925 MB / 441.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3237, allocations: 4.078 kB / 441.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.3239, allocations: 47.48 kB / 441.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.3242, allocations: 62.3 kB / 442 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3242, allocations: 3.375 kB / 442 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.3258, allocations: 1.636 MB / 443.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3258, allocations: 0.5 kB / 443.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.3273, allocations: 0.5636 MB / 444.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.3274, allocations: 108.2 kB / 444.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.3274, allocations: 3.047 kB / 444.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.3277, allocations: 38.55 kB / 444.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.3278, allocations: 31.05 kB / 444.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3278, allocations: 4.047 kB / 444.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.328, allocations: 212.5 kB / 444.6 MB, free: 496 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.328, allocations: 0 / 444.6 MB, free: 496 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000409/0.3284, allocations: 78.28 kB / 444.6 MB, free: 484 kB / 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.001726/0.3302, allocations: 1.106 MB / 445.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.3312, allocations: 443 kB / 446.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3312, allocations: 4.25 kB / 446.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.3317, allocations: 233.9 kB / 446.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.3322, allocations: 61.64 kB / 446.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/0.3396, allocations: 3.659 MB / 450.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.34, allocations: 0.7667 MB / 450.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.3402, allocations: 29.91 kB / 450.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3403, allocations: 94.92 kB / 451 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3403, allocations: 0 / 451 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.3778, allocations: 7.299 MB / 458.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 6.031 kB / 458.3 MB, free: 10.09 MB / 366.1 MB " [Timeout remaining time 648] (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.374969279000652]