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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 115.8 kB / 17.07 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 189.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 52.05 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2647, allocations: 49.44 MB / 400.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004091/0.2689, allocations: 2.851 MB / 403.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2701, allocations: 0.7206 MB / 403.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2702, allocations: 7.938 kB / 403.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.2704, allocations: 43.58 kB / 403.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.2706, allocations: 99.19 kB / 404 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.2709, allocations: 115.8 kB / 404.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.2714, allocations: 390.5 kB / 404.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.2716, allocations: 119.3 kB / 404.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2718, allocations: 155.4 kB / 404.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2721, allocations: 163.3 kB / 404.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.2721, allocations: 40 kB / 404.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.2722, allocations: 40 kB / 405 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.2723, allocations: 71.7 kB / 405.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.2725, allocations: 171.2 kB / 405.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.2729, allocations: 429.3 kB / 405.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2729, allocations: 0 / 405.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2729, allocations: 0 / 405.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2729, allocations: 0 / 405.6 MB, free: 3.527 MB / 318.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.001282/0.2742, allocations: 0.6573 MB / 406.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2743, allocations: 12.02 kB / 406.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.987e-05/0.2744, allocations: 58.73 kB / 406.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.2744, allocations: 40.7 kB / 406.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2748, allocations: 292.7 kB / 406.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2749, allocations: 24.92 kB / 406.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.2749, allocations: 28.38 kB / 406.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.2756, allocations: 315.8 kB / 407.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2757, allocations: 4 kB / 407.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2757, allocations: 8 kB / 407.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2757, allocations: 8 kB / 407.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.2765, allocations: 274 kB / 407.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2784, allocations: 1.116 MB / 408.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.2793, allocations: 242.6 kB / 408.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.2796, allocations: 116.7 kB / 408.8 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2796, allocations: 0 / 408.8 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.2802, allocations: 173 kB / 409 MB, free: 15.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.2802, allocations: 0 / 409 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001067/0.2812, allocations: 309.3 kB / 409.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.2813, allocations: 89.05 kB / 409.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.2816, allocations: 266.5 kB / 409.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2816, allocations: 33.7 kB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.2818, allocations: 195.9 kB / 409.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.2819, allocations: 43.59 kB / 409.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.282, allocations: 57.66 kB / 410 MB, free: 14.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2821, allocations: 326.8 kB / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.2825, allocations: 108.1 kB / 410.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.2829, allocations: 190.5 kB / 410.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.2836, allocations: 303.7 kB / 410.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2837, allocations: 4 kB / 410.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009975/0.2847, allocations: 366.4 kB / 411.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.2847, allocations: 33.7 kB / 411.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2847, allocations: 4 kB / 411.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2847, allocations: 4 kB / 411.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.285, allocations: 71.88 kB / 411.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2851, allocations: 4 kB / 411.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2854, allocations: 51.86 kB / 411.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2854, allocations: 8 kB / 411.4 MB, free: 13.4 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.000169/0.2856, allocations: 153.7 kB / 411.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2856, allocations: 19.86 kB / 411.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.2857, allocations: 25.7 kB / 411.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2857, allocations: 0 / 411.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2857, allocations: 0 / 411.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2857, allocations: 7.938 kB / 411.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.286, allocations: 309.4 kB / 411.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.286, allocations: 0 / 411.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.2863, allocations: 43.95 kB / 411.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2864, allocations: 3.938 kB / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2864, allocations: 0 / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2864, allocations: 4 kB / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2864, allocations: 4 kB / 412 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2875, allocations: 376.6 kB / 412.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.2876, allocations: 100.9 kB / 412.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.2876, allocations: 8 kB / 412.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2879, allocations: 23.97 kB / 412.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.2879, allocations: 23.91 kB / 412.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.288, allocations: 8 kB / 412.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.2882, allocations: 190 kB / 412.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.2882, allocations: 0 / 412.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.2885, allocations: 63.83 kB / 412.7 MB, free: 11.96 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.001453/0.2899, allocations: 0.9089 MB / 413.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007999/0.2907, allocations: 295.1 kB / 413.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2907, allocations: 0.6875 kB / 413.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.2911, allocations: 112.5 kB / 414 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2914, allocations: 53.44 kB / 414.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.296, allocations: 2.892 MB / 417 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.2964, allocations: 0.748 MB / 417.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2965, allocations: 34.27 kB / 417.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2967, allocations: 79.41 kB / 417.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2967, allocations: 0 / 417.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.3259, allocations: 5.529 MB / 423.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.446, allocations: 3.438 kB / 423.4 MB, free: 1.234 MB / 334.1 MB (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) 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) Reference file matches