Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001807/0.001807, allocations: 112 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.002099/0.002099, allocations: 181.3 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.505/1.505, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 43.94 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2868, allocations: 52.2 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004193/0.291, allocations: 2.879 MB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2923, allocations: 0.7478 MB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2924, allocations: 7.938 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.2925, allocations: 39.58 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2927, allocations: 107.2 kB / 426.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.293, allocations: 107.8 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.2935, allocations: 398.5 kB / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2937, allocations: 87.67 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.2939, allocations: 151.5 kB / 427.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2941, allocations: 159.3 kB / 427.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.2942, allocations: 40 kB / 427.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.2942, allocations: 36 kB / 427.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.2943, allocations: 79.69 kB / 427.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.2945, allocations: 171.2 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.2949, allocations: 426.8 kB / 428.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2949, allocations: 0 / 428.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2949, allocations: 4 kB / 428.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2949, allocations: 0 / 428.1 MB, free: 9.172 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001265/0.2962, allocations: 0.5898 MB / 428.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2962, allocations: 8.031 kB / 428.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.2963, allocations: 58.72 kB / 428.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.2964, allocations: 36.7 kB / 428.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.2968, allocations: 230.9 kB / 429 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.2968, allocations: 20.88 kB / 429 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.2969, allocations: 24.38 kB / 429 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.2976, allocations: 318.8 kB / 429.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2976, allocations: 0 / 429.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2976, allocations: 8 kB / 429.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2976, allocations: 8 kB / 429.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.2984, allocations: 273.8 kB / 429.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3002, allocations: 1.073 MB / 430.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.3011, allocations: 246.6 kB / 430.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.3014, allocations: 100.7 kB / 431 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3014, allocations: 7.938 kB / 431 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/0.3019, allocations: 165 kB / 431.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 4.449e-06/0.3019, allocations: 7.984 kB / 431.2 MB, free: 5.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001007/0.3029, allocations: 313.3 kB / 431.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.303, allocations: 85.11 kB / 431.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3032, allocations: 261.8 kB / 431.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3033, allocations: 29.7 kB / 431.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3034, allocations: 204 kB / 432.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3035, allocations: 43.62 kB / 432.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.3035, allocations: 49.66 kB / 432.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3037, allocations: 334.8 kB / 432.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.304, allocations: 96.16 kB / 432.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3044, allocations: 193.4 kB / 432.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.3051, allocations: 303.7 kB / 433.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3051, allocations: 4 kB / 433.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008666/0.306, allocations: 362.4 kB / 433.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.306, allocations: 37.69 kB / 433.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3061, allocations: 0 / 433.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3061, allocations: 8 kB / 433.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.3064, allocations: 64.02 kB / 433.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.51e-05/0.3064, allocations: 8 kB / 433.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3067, allocations: 59.72 kB / 433.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.3067, allocations: 12 kB / 433.6 MB, free: 3.266 MB / 334.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.3069, allocations: 145.7 kB / 433.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.3069, allocations: 23.86 kB / 433.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.307, allocations: 21.7 kB / 433.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.307, allocations: 8 kB / 433.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.307, allocations: 0 / 433.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.307, allocations: 3.938 kB / 433.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3073, allocations: 288.5 kB / 434.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3073, allocations: 0 / 434.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.3075, allocations: 43.91 kB / 434.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3075, allocations: 0 / 434.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3076, allocations: 3.984 kB / 434.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3076, allocations: 8 kB / 434.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3076, allocations: 3.938 kB / 434.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3086, allocations: 368.7 kB / 434.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3087, allocations: 23.83 kB / 434.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.3087, allocations: 4 kB / 434.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.3089, allocations: 27.95 kB / 434.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.309, allocations: 27.98 kB / 434.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.309, allocations: 3.984 kB / 434.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.3092, allocations: 189.2 kB / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 3.938 kB / 434.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000297/0.3095, allocations: 63.89 kB / 434.9 MB, free: 1.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.3108, allocations: 0.8973 MB / 435.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007947/0.3116, allocations: 292.3 kB / 436 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3116, allocations: 0 / 436 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.312, allocations: 99.86 kB / 436.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3123, allocations: 60.03 kB / 436.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.317, allocations: 2.896 MB / 439.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3173, allocations: 0.748 MB / 439.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3175, allocations: 30.28 kB / 439.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3176, allocations: 83.39 kB / 439.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3176, allocations: 0 / 439.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.3526, allocations: 5.758 MB / 445.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.39, allocations: 9.453 kB / 445.7 MB, free: 7.035 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_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_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable der_.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.99349140800041]