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.001323/0.001323, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001537/0.001537, allocations: 195.5 kB / 23.71 MB, free: 4.406 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.402/1.402, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001647/0.001647, allocations: 55.92 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2613, allocations: 52.19 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00571/0.267, allocations: 2.681 MB / 425.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2687, allocations: 0.6895 MB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2689, allocations: 7.938 kB / 426 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.2691, allocations: 47.56 kB / 426 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.2694, allocations: 99.19 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.2698, allocations: 119.8 kB / 426.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.2704, allocations: 394.5 kB / 426.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.2706, allocations: 81.39 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2709, allocations: 159.4 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.2712, allocations: 139.4 kB / 427 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-05/0.2713, allocations: 40 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.2714, allocations: 36 kB / 427.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2715, allocations: 79.69 kB / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.2717, allocations: 135.4 kB / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006518/0.2723, allocations: 434.3 kB / 427.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2723, allocations: 0 / 427.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2723, allocations: 0 / 427.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2724, allocations: 4 kB / 427.7 MB, free: 9.23 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.001692/0.274, allocations: 0.582 MB / 428.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2741, allocations: 8.031 kB / 428.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/0.2742, allocations: 62.73 kB / 428.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.2743, allocations: 36.7 kB / 428.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.2749, allocations: 238.9 kB / 428.6 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2749, allocations: 20.81 kB / 428.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.275, allocations: 24.38 kB / 428.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.276, allocations: 340.5 kB / 429 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.276, allocations: 8 kB / 429 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.276, allocations: 11.94 kB / 429 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.276, allocations: 8 kB / 429 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2771, allocations: 273.8 kB / 429.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.2794, allocations: 0.9908 MB / 430.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2806, allocations: 238.6 kB / 430.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.281, allocations: 96.72 kB / 430.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2811, allocations: 4 kB / 430.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006566/0.2817, allocations: 194.7 kB / 430.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.2817, allocations: 0 / 430.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001378/0.2831, allocations: 317.2 kB / 431.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.2832, allocations: 85.09 kB / 431.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.2836, allocations: 269.8 kB / 431.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.2836, allocations: 33.69 kB / 431.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2838, allocations: 192.1 kB / 431.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.2838, allocations: 51.58 kB / 431.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.284, allocations: 41.7 kB / 431.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2841, allocations: 338.8 kB / 432.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.2846, allocations: 125.9 kB / 432.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.2852, allocations: 244.1 kB / 432.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.2862, allocations: 307.7 kB / 432.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2862, allocations: 0 / 432.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001409/0.2876, allocations: 396 kB / 433.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.2877, allocations: 37.7 kB / 433.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2877, allocations: 352 / 433.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2877, allocations: 8 kB / 433.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.2881, allocations: 67.88 kB / 433.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2881, allocations: 4 kB / 433.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.2885, allocations: 51.75 kB / 433.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.2886, allocations: 8 kB / 433.3 MB, free: 3.219 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.0002227/0.2888, allocations: 157.7 kB / 433.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.2888, allocations: 27.84 kB / 433.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.2889, allocations: 17.72 kB / 433.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2889, allocations: 4 kB / 433.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2889, allocations: 0 / 433.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.2889, allocations: 11.92 kB / 433.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.2892, allocations: 252.6 kB / 433.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2892, allocations: 0 / 433.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.2895, allocations: 51.83 kB / 433.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2895, allocations: 4 kB / 433.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2895, allocations: 0 / 433.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2895, allocations: 3.984 kB / 433.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2895, allocations: 3.984 kB / 433.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2906, allocations: 372.7 kB / 434.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.2906, allocations: 19.88 kB / 434.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.2906, allocations: 8 kB / 434.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.2909, allocations: 23.97 kB / 434.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.2909, allocations: 23.97 kB / 434.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2909, allocations: 8 kB / 434.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.2911, allocations: 193.2 kB / 434.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2911, allocations: 0 / 434.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.2915, allocations: 63.84 kB / 434.6 MB, free: 1.922 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.001451/0.2929, allocations: 0.8973 MB / 435.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008323/0.2937, allocations: 325.4 kB / 435.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2937, allocations: 0 / 435.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.2941, allocations: 104.5 kB / 435.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2944, allocations: 44.58 kB / 435.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.2993, allocations: 3.011 MB / 438.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2995, allocations: 150.8 kB / 439.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.2996, allocations: 22.3 kB / 439.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2997, allocations: 79.41 kB / 439.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2997, allocations: 4 kB / 439.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.3389, allocations: 6.354 MB / 445.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.46, allocations: 8.047 kB / 445.5 MB, free: 6.883 MB / 350.1 MB " [Timeout remaining time 648] (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.930199061054736]