Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2523, allocations: 50.55 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003754/0.2561, allocations: 3.088 MB / 411.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2574, allocations: 0.7988 MB / 412.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2575, allocations: 7.938 kB / 412.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.2577, allocations: 51.5 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.2579, allocations: 123 kB / 412.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2582, allocations: 127.8 kB / 413 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.2586, allocations: 462.3 kB / 413.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.2589, allocations: 138.9 kB / 413.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.2591, allocations: 191.2 kB / 413.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2594, allocations: 191.2 kB / 414 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.2594, allocations: 48 kB / 414 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.2595, allocations: 44 kB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.2596, allocations: 95.67 kB / 414.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.2597, allocations: 191.1 kB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.2602, allocations: 497.2 kB / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2602, allocations: 0 / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2602, allocations: 0 / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2602, allocations: 0 / 414.8 MB, free: 11.53 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001248/0.2615, allocations: 0.7263 MB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2615, allocations: 8.031 kB / 415.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.2616, allocations: 58.73 kB / 415.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.2617, allocations: 44.69 kB / 415.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.262, allocations: 314.8 kB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2621, allocations: 24.92 kB / 416 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.2621, allocations: 32.12 kB / 416 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.2629, allocations: 359.5 kB / 416.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2629, allocations: 0 / 416.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.2629, allocations: 8 kB / 416.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2629, allocations: 8 kB / 416.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.2638, allocations: 306 kB / 416.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2657, allocations: 1.252 MB / 417.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.2665, allocations: 343.5 kB / 418.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.2669, allocations: 140.8 kB / 418.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.267, allocations: 0 / 418.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.2675, allocations: 204.7 kB / 418.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.2675, allocations: 0 / 418.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002057/0.2695, allocations: 0.6395 MB / 419.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.2696, allocations: 106.8 kB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.2699, allocations: 299.2 kB / 419.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.2699, allocations: 29.7 kB / 419.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2701, allocations: 208.4 kB / 419.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.2701, allocations: 63.58 kB / 419.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.2702, allocations: 65.58 kB / 420 MB, free: 6.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2703, allocations: 334.8 kB / 420.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.2707, allocations: 120.2 kB / 420.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.2711, allocations: 221.2 kB / 420.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.2719, allocations: 338.6 kB / 421 MB, free: 4.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2719, allocations: 4 kB / 421 MB, free: 4.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001217/0.2731, allocations: 487.8 kB / 421.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2731, allocations: 33.77 kB / 421.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2732, allocations: 4 kB / 421.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.2735, allocations: 68.8 kB / 421.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.2737, allocations: 67.89 kB / 421.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.2758, allocations: 1.647 MB / 423.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.2761, allocations: 55.75 kB / 423.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2761, allocations: 8 kB / 423.3 MB, free: 2.418 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.2763, allocations: 165.7 kB / 423.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.2764, allocations: 35.75 kB / 423.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.2764, allocations: 26.2 kB / 423.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2764, allocations: 4 kB / 423.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2764, allocations: 0 / 423.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2764, allocations: 0 / 423.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.2779, allocations: 0.7957 MB / 424.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2779, allocations: 0 / 424.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.2782, allocations: 51.89 kB / 424.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.2784, allocations: 64.83 kB / 424.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2784, allocations: 8 kB / 424.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.2803, allocations: 1.617 MB / 426.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2803, allocations: 4.031 kB / 426.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.2817, allocations: 0.567 MB / 426.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.2817, allocations: 108.9 kB / 426.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.2818, allocations: 8 kB / 426.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.2821, allocations: 32.03 kB / 426.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.2821, allocations: 23.97 kB / 426.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2822, allocations: 4 kB / 426.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.2824, allocations: 210 kB / 427.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2824, allocations: 0 / 427.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.2827, allocations: 87.78 kB / 427.1 MB, free: 14.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/0.2844, allocations: 1.101 MB / 428.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009374/0.2853, allocations: 447 kB / 428.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2853, allocations: 7.875 kB / 428.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.2858, allocations: 243.2 kB / 428.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.2862, allocations: 63.34 kB / 429 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/0.2928, allocations: 3.66 MB / 432.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2931, allocations: 0.7678 MB / 433.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.2933, allocations: 30.95 kB / 433.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2934, allocations: 95.41 kB / 433.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2934, allocations: 0 / 433.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.3189, allocations: 7.254 MB / 440.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.46, allocations: 7.25 kB / 440.8 MB, free: 0.6133 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches