Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, 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.001822/0.001822, 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.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2493, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003586/0.2529, allocations: 2.874 MB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2541, allocations: 0.7479 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2543, allocations: 4 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2545, allocations: 47.52 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2547, allocations: 103.2 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.255, allocations: 111.8 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.2553, allocations: 394.5 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.2555, allocations: 131.2 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2558, allocations: 159.4 kB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.256, allocations: 167.2 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.256, allocations: 36 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.785e-05/0.2561, allocations: 40 kB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.2562, allocations: 75.75 kB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2563, allocations: 163.2 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2567, allocations: 433.3 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2567, allocations: 4 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2567, allocations: 0 / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2567, allocations: 0 / 414.2 MB, free: 12.02 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.001165/0.2579, allocations: 0.668 MB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2579, allocations: 8.031 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.258, allocations: 62.72 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.2581, allocations: 32.75 kB / 415 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.2585, allocations: 296.7 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2585, allocations: 16.94 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.2586, allocations: 24.38 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.2592, allocations: 319.8 kB / 415.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2592, allocations: 0 / 415.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.2593, allocations: 12 kB / 415.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2593, allocations: 4 kB / 415.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.2601, allocations: 282 kB / 415.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.262, allocations: 1.169 MB / 417.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.2629, allocations: 238.6 kB / 417.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.2632, allocations: 100.8 kB / 417.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2633, allocations: 0 / 417.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.2637, allocations: 176.9 kB / 417.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2637, allocations: 0 / 417.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002032/0.2658, allocations: 0.6005 MB / 418.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.2658, allocations: 81.11 kB / 418.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.2661, allocations: 266.6 kB / 418.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2662, allocations: 33.7 kB / 418.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2663, allocations: 191.9 kB / 418.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.2663, allocations: 47.62 kB / 418.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.2664, allocations: 49.7 kB / 418.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2666, allocations: 330.8 kB / 419.2 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2669, allocations: 104.2 kB / 419.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.2673, allocations: 198.8 kB / 419.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.268, allocations: 303.7 kB / 419.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.268, allocations: 4 kB / 419.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00117/0.2692, allocations: 450.9 kB / 420.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.2693, allocations: 37.64 kB / 420.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2693, allocations: 4 kB / 420.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.2696, allocations: 68.88 kB / 420.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.2699, allocations: 51.91 kB / 420.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.2721, allocations: 1.641 MB / 422 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2725, allocations: 55.81 kB / 422.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.2725, allocations: 15.92 kB / 422.1 MB, free: 3.602 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 (25): * Single equations (assignments): 23 * 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.0001688/0.2727, allocations: 145.7 kB / 422.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.2727, allocations: 27.86 kB / 422.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.2728, allocations: 21.7 kB / 422.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2728, allocations: 4 kB / 422.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2728, allocations: 0 / 422.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2728, allocations: 0 / 422.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.2731, allocations: 313.4 kB / 422.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2731, allocations: 3.984 kB / 422.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2733, allocations: 35.89 kB / 422.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.2735, allocations: 56.83 kB / 422.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2735, allocations: 7.984 kB / 422.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.2754, allocations: 1.64 MB / 424.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2755, allocations: 0 / 424.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.2768, allocations: 449.5 kB / 424.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.2769, allocations: 101 kB / 424.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.277, allocations: 7.984 kB / 424.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.2772, allocations: 27.97 kB / 424.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.2773, allocations: 19.98 kB / 424.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2773, allocations: 7.984 kB / 424.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.2775, allocations: 190 kB / 425.1 MB, free: 340 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2775, allocations: 0 / 425.1 MB, free: 340 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.2778, allocations: 71.84 kB / 425.2 MB, free: 268 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * 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.001686/0.2795, allocations: 0.98 MB / 426.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.2805, allocations: 406.4 kB / 426.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2805, allocations: 128 / 426.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.281, allocations: 230.6 kB / 426.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2813, allocations: 40.03 kB / 426.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.2888, allocations: 3.402 MB / 430.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2891, allocations: 0.7558 MB / 431 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.2892, allocations: 30.22 kB / 431 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.2894, allocations: 75.41 kB / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2894, allocations: 0 / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.3172, allocations: 6.308 MB / 437.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.46, allocations: 4 kB / 437.4 MB, free: 3.961 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_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_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches