Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 205.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003013/0.003013, allocations: 67.91 kB / 377.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.3007, allocations: 53.39 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004626/0.3053, allocations: 2.717 MB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3068, allocations: 0.6856 MB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.307, allocations: 8 kB / 434.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.3072, allocations: 51.5 kB / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.3074, allocations: 103.2 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.3077, allocations: 99.81 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.3082, allocations: 386.5 kB / 435.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3084, allocations: 85.34 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.3087, allocations: 159.4 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.309, allocations: 151.2 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.309, allocations: 44 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.3091, allocations: 40 kB / 435.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.3092, allocations: 75.7 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3093, allocations: 143.3 kB / 435.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.3098, allocations: 434.4 kB / 436.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3098, allocations: 0 / 436.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3098, allocations: 0 / 436.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3099, allocations: 0 / 436.3 MB, free: 1.258 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001227/0.3111, allocations: 0.5896 MB / 436.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3111, allocations: 11.98 kB / 436.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.587e-05/0.3112, allocations: 58.73 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.3113, allocations: 36.7 kB / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.3117, allocations: 245.7 kB / 437.2 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3118, allocations: 16.88 kB / 437.3 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.3118, allocations: 32.38 kB / 437.3 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.3125, allocations: 323.5 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3125, allocations: 4 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.3125, allocations: 11.94 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3125, allocations: 8 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.3132, allocations: 245.8 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3148, allocations: 0.9389 MB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.3155, allocations: 206.6 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3158, allocations: 92.8 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3158, allocations: 0 / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.3163, allocations: 221.3 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.3163, allocations: 0 / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008769/0.3171, allocations: 285.2 kB / 439.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.3172, allocations: 110.8 kB / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.3175, allocations: 269.8 kB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3175, allocations: 37.69 kB / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3177, allocations: 196 kB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.3177, allocations: 47.64 kB / 440.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.3178, allocations: 53.94 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.318, allocations: 330.8 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3183, allocations: 117.9 kB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.3187, allocations: 269.3 kB / 441 MB, free: 12.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.3192, allocations: 273.7 kB / 441.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3192, allocations: 0 / 441.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007524/0.32, allocations: 368.8 kB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.32, allocations: 41.62 kB / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.32, allocations: 0 / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3201, allocations: 4 kB / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.3203, allocations: 63.89 kB / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.3204, allocations: 7.984 kB / 441.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.3206, allocations: 55.75 kB / 441.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3206, allocations: 12 kB / 441.8 MB, free: 11.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001522/0.3208, allocations: 150.2 kB / 442 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3208, allocations: 27.84 kB / 442 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.3209, allocations: 21.78 kB / 442 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3209, allocations: 0 / 442 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3209, allocations: 4 kB / 442 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.3209, allocations: 11.91 kB / 442 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3212, allocations: 264.5 kB / 442.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3212, allocations: 4 kB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3214, allocations: 31.97 kB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3214, allocations: 4 kB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3214, allocations: 11.88 kB / 442.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3214, allocations: 0 / 442.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3214, allocations: 0 / 442.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.3223, allocations: 347.8 kB / 442.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.3223, allocations: 23.88 kB / 442.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.3224, allocations: 8 kB / 442.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3226, allocations: 27.95 kB / 442.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.3227, allocations: 19.91 kB / 442.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3227, allocations: 12 kB / 442.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.3229, allocations: 185.3 kB / 442.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3229, allocations: 4 kB / 442.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3232, allocations: 71.89 kB / 443 MB, free: 10.08 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.3243, allocations: 0.8699 MB / 443.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006584/0.325, allocations: 296.8 kB / 444.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.325, allocations: 0 / 444.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3253, allocations: 92.5 kB / 444.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3256, allocations: 52.34 kB / 444.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.3304, allocations: 3.015 MB / 447.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3306, allocations: 150.8 kB / 447.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.3307, allocations: 30.28 kB / 447.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3308, allocations: 83.41 kB / 447.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3308, allocations: 0 / 447.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.3664, allocations: 6.719 MB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.24, allocations: 7.422 kB / 454.3 MB, free: 14.71 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.720724887680262]