Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001278/0.001278, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001317/0.001317, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.464/1.464, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 55.94 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 53.33 MB / 426.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004247/0.1068, allocations: 2.875 MB / 429.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1082, allocations: 0.7634 MB / 430 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1083, allocations: 7.938 kB / 430 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1085, allocations: 47.56 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1087, allocations: 103.2 kB / 430.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1089, allocations: 119.8 kB / 430.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.1094, allocations: 386.5 kB / 430.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1096, allocations: 91.25 kB / 430.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.1099, allocations: 159.5 kB / 430.9 MB, free: 188 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1101, allocations: 163.3 kB / 431 MB, free: 24 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1914/0.3015, allocations: 39.8 kB / 431.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3016, allocations: 35.88 kB / 431.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.3017, allocations: 74.75 kB / 431.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.3019, allocations: 161.6 kB / 431.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.3023, allocations: 432 kB / 431.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3023, allocations: 5.094 kB / 431.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3023, allocations: 0 / 431.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3023, allocations: 0.5 kB / 431.8 MB, free: 7.906 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001156/0.3035, allocations: 0.6587 MB / 432.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3035, allocations: 12.88 kB / 432.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.3036, allocations: 59.7 kB / 432.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.3037, allocations: 37.3 kB / 432.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.304, allocations: 285.7 kB / 432.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.304, allocations: 19.88 kB / 432.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.3041, allocations: 22.84 kB / 432.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.3047, allocations: 322.9 kB / 433.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3047, allocations: 1.344 kB / 433.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.3047, allocations: 9.625 kB / 433.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3048, allocations: 6.312 kB / 433.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.3055, allocations: 276.8 kB / 433.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.307, allocations: 1.119 MB / 434.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.3078, allocations: 236.9 kB / 434.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.3081, allocations: 101.1 kB / 434.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3081, allocations: 1.688 kB / 434.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.3086, allocations: 170.6 kB / 435.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3086, allocations: 0 / 435.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001059/0.3096, allocations: 318.3 kB / 435.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.3097, allocations: 80.19 kB / 435.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3099, allocations: 271.5 kB / 435.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3099, allocations: 27.27 kB / 435.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.31, allocations: 199.4 kB / 436 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3101, allocations: 42.27 kB / 436 MB, free: 6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.3101, allocations: 49.36 kB / 436 MB, free: 5.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.3102, allocations: 335.4 kB / 436.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.3105, allocations: 109.9 kB / 436.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3109, allocations: 190.6 kB / 436.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.3116, allocations: 296.5 kB / 437 MB, free: 5.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3116, allocations: 4.25 kB / 437 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008417/0.3124, allocations: 362.3 kB / 437.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3124, allocations: 34.7 kB / 437.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3124, allocations: 3.188 kB / 437.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3125, allocations: 6.047 kB / 437.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.3127, allocations: 70.53 kB / 437.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3128, allocations: 8.391 kB / 437.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.313, allocations: 52.78 kB / 437.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3131, allocations: 8.562 kB / 437.5 MB, free: 5.285 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 (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.0001042/0.3132, allocations: 148.7 kB / 437.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3132, allocations: 30.02 kB / 437.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.3133, allocations: 26.34 kB / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3133, allocations: 0 / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3133, allocations: 3.094 kB / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3133, allocations: 7.078 kB / 437.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3135, allocations: 307.5 kB / 438 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3135, allocations: 0.7031 kB / 438 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3138, allocations: 44.17 kB / 438 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3138, allocations: 5.156 kB / 438.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3138, allocations: 5.453 kB / 438.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3138, allocations: 1.391 kB / 438.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3138, allocations: 1.281 kB / 438.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3148, allocations: 373.5 kB / 438.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3149, allocations: 100.2 kB / 438.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3149, allocations: 5.797 kB / 438.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3151, allocations: 31.89 kB / 438.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.3152, allocations: 15.47 kB / 438.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3152, allocations: 10.69 kB / 438.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.3154, allocations: 190.5 kB / 438.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3154, allocations: 0 / 438.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.3157, allocations: 69.55 kB / 438.8 MB, free: 4.656 MB / 350.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.00118/0.3169, allocations: 0.8995 MB / 439.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.3176, allocations: 295.9 kB / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3176, allocations: 0 / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.318, allocations: 98 kB / 440.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3183, allocations: 52.86 kB / 440.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.3228, allocations: 2.901 MB / 443.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.323, allocations: 0.7512 MB / 443.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3231, allocations: 28.7 kB / 443.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3232, allocations: 79.83 kB / 443.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3232, allocations: 0 / 443.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.3592, allocations: 5.57 MB / 449.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.312, allocations: 13.11 kB / 449.5 MB, free: 0.5977 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.84456185498857]