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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004114/0.2566, allocations: 2.874 MB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2579, allocations: 0.7401 MB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.258, allocations: 8 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2582, allocations: 47.56 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.2584, allocations: 95.19 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.2587, allocations: 115.8 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000413/0.2591, allocations: 390.5 kB / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.2594, allocations: 131.2 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.2597, allocations: 159.3 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2599, allocations: 167.3 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.2599, allocations: 36 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.26, allocations: 40 kB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.2601, allocations: 71.77 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2602, allocations: 171.2 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.2607, allocations: 421.3 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2607, allocations: 4 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2607, allocations: 0 / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2607, allocations: 0 / 414.2 MB, free: 12.05 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.001254/0.262, allocations: 0.669 MB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.262, allocations: 8.031 kB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.365e-05/0.2621, allocations: 62.66 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.2622, allocations: 32.75 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.2626, allocations: 292.8 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2627, allocations: 16.94 kB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.2627, allocations: 28.38 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.2634, allocations: 323.7 kB / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2634, allocations: 0 / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2635, allocations: 12 kB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2635, allocations: 7.938 kB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.2643, allocations: 274.1 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.2661, allocations: 1.116 MB / 417.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.2669, allocations: 242.5 kB / 417.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.2673, allocations: 100.8 kB / 417.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2673, allocations: 0 / 417.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.2678, allocations: 177 kB / 417.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2678, allocations: 0 / 417.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001037/0.2688, allocations: 321.2 kB / 417.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.2689, allocations: 77.11 kB / 417.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2692, allocations: 274.6 kB / 418.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2692, allocations: 25.7 kB / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2694, allocations: 199.9 kB / 418.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.2695, allocations: 51.62 kB / 418.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.2695, allocations: 41.7 kB / 418.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2697, allocations: 334.8 kB / 418.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2701, allocations: 104.2 kB / 419 MB, free: 7.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.2705, allocations: 195.5 kB / 419.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.2712, allocations: 307 kB / 419.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2712, allocations: 0 / 419.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008688/0.2721, allocations: 366.8 kB / 419.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.2721, allocations: 33.64 kB / 419.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2721, allocations: 4 kB / 419.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2722, allocations: 4.344 kB / 419.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.2725, allocations: 67.89 kB / 419.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2725, allocations: 7.984 kB / 419.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.2728, allocations: 55.69 kB / 420 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.2728, allocations: 12 kB / 420 MB, free: 5.906 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.0001556/0.273, allocations: 149.7 kB / 420.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.273, allocations: 23.86 kB / 420.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.2731, allocations: 25.7 kB / 420.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2731, allocations: 0 / 420.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2731, allocations: 4 kB / 420.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2731, allocations: 7.922 kB / 420.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.2734, allocations: 305.5 kB / 420.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2734, allocations: 0 / 420.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.2737, allocations: 47.89 kB / 420.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2737, allocations: 4 kB / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2737, allocations: 0 / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2737, allocations: 0 / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2737, allocations: 0 / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2748, allocations: 368.6 kB / 420.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.2749, allocations: 108.9 kB / 421 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.2749, allocations: 4 kB / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.2752, allocations: 32.03 kB / 421 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.2752, allocations: 19.91 kB / 421.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2752, allocations: 4 kB / 421.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.2754, allocations: 193.9 kB / 421.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2754, allocations: 0 / 421.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.2757, allocations: 67.84 kB / 421.3 MB, free: 4.469 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.001356/0.2771, allocations: 0.9052 MB / 422.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.2779, allocations: 295.3 kB / 422.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2779, allocations: 4 kB / 422.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.2783, allocations: 99.92 kB / 422.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.2786, allocations: 68.59 kB / 422.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.2836, allocations: 2.885 MB / 425.6 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.2841, allocations: 0.7518 MB / 426.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.2842, allocations: 34.27 kB / 426.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2843, allocations: 79.41 kB / 426.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2844, allocations: 0 / 426.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.3135, allocations: 5.528 MB / 432 MB, free: 9.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.504, allocations: 15.31 kB / 432 MB, free: 9.734 MB / 350.1 MB (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) 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) Reference file matches