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.00144/0.00144, 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.001469/0.001469, 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.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 63.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2516, allocations: 50.54 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004288/0.2559, allocations: 2.885 MB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2573, allocations: 0.7518 MB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2575, allocations: 4 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2577, allocations: 47.52 kB / 412.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2579, allocations: 99.23 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.2581, allocations: 111.8 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.2586, allocations: 394.5 kB / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.2588, allocations: 123.2 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.2591, allocations: 155.4 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.2594, allocations: 167.2 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.2594, allocations: 40 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.2595, allocations: 44 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.2596, allocations: 71.75 kB / 413.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2598, allocations: 171.2 kB / 413.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.2602, allocations: 421.3 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2602, allocations: 0 / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2602, allocations: 0 / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.2603, allocations: 0 / 414.2 MB, free: 12.06 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.001292/0.2615, allocations: 0.6641 MB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2616, allocations: 15.97 kB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.2617, allocations: 58.72 kB / 415 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.2618, allocations: 32.75 kB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.2622, allocations: 300.7 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.2622, allocations: 16.94 kB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.2623, allocations: 28.36 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006862/0.263, allocations: 319.8 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.263, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.263, allocations: 12 kB / 415.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.263, allocations: 8 kB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.2638, allocations: 270 kB / 415.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.2657, allocations: 1.169 MB / 417.1 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.2666, allocations: 250.5 kB / 417.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.2669, allocations: 108.8 kB / 417.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2669, allocations: 0 / 417.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.2674, allocations: 165 kB / 417.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.2674, allocations: 4 kB / 417.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001985/0.2694, allocations: 0.6005 MB / 418.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2695, allocations: 81.09 kB / 418.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.2698, allocations: 266.6 kB / 418.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2698, allocations: 25.7 kB / 418.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.27, allocations: 199.9 kB / 418.8 MB, free: 7.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.27, allocations: 47.58 kB / 418.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.2701, allocations: 49.69 kB / 418.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2703, allocations: 330.8 kB / 419.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.2706, allocations: 104.1 kB / 419.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.271, allocations: 195.5 kB / 419.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.2718, allocations: 299.7 kB / 419.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2718, allocations: 0 / 419.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00117/0.2729, allocations: 447.8 kB / 420.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.273, allocations: 40.61 kB / 420.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.273, allocations: 4 kB / 420.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.2734, allocations: 64.88 kB / 420.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.2736, allocations: 59.89 kB / 420.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.2759, allocations: 1.639 MB / 422 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.2762, allocations: 55.73 kB / 422.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.2762, allocations: 15.94 kB / 422.1 MB, free: 3.637 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.0001574/0.2764, allocations: 145.7 kB / 422.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.2764, allocations: 19.92 kB / 422.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.2765, allocations: 33.7 kB / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2765, allocations: 0 / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.2765, allocations: 0 / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2765, allocations: 0 / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.2769, allocations: 313.4 kB / 422.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2769, allocations: 0 / 422.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.2771, allocations: 35.97 kB / 422.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.2774, allocations: 72.75 kB / 422.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2774, allocations: 0 / 422.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.2795, allocations: 1.625 MB / 424.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2795, allocations: 0 / 424.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.2808, allocations: 457.9 kB / 424.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.2809, allocations: 101 kB / 424.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.2809, allocations: 4 kB / 424.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2812, allocations: 32.03 kB / 424.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.2812, allocations: 19.97 kB / 424.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2813, allocations: 4 kB / 424.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.2815, allocations: 186 kB / 425.1 MB, free: 388 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2815, allocations: 0 / 425.1 MB, free: 388 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.2818, allocations: 71.84 kB / 425.2 MB, free: 316 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.001672/0.2835, allocations: 0.989 MB / 426.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.2845, allocations: 413.9 kB / 426.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2845, allocations: 0 / 426.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.2849, allocations: 219.2 kB / 426.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2852, allocations: 48.47 kB / 426.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.2927, allocations: 3.405 MB / 430.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2932, allocations: 0.748 MB / 431 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.2933, allocations: 30.22 kB / 431 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2934, allocations: 79.41 kB / 431.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2934, allocations: 0 / 431.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.3293, allocations: 6.308 MB / 437.4 MB, free: 4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.94, allocations: 0 / 437.4 MB, free: 4 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.1.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