Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 195.9 kB / 17.38 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.6 MB / 244.7 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007562/0.0007562, allocations: 92.5 kB / 296.8 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002389/0.000239, allocations: 11.98 kB / 356.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1816, allocations: 51.28 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002056/0.1837, allocations: 2.451 MB / 410.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008188/0.1846, allocations: 0.7171 MB / 411.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1847, allocations: 4.531 kB / 411.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1848, allocations: 31.75 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1849, allocations: 83.12 kB / 411.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1851, allocations: 63.88 kB / 411.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1854, allocations: 358.5 kB / 411.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1856, allocations: 103.3 kB / 411.9 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1858, allocations: 129.7 kB / 412 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1859, allocations: 135.4 kB / 412.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.186, allocations: 20 kB / 412.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.641e-05/0.186, allocations: 16 kB / 412.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1861, allocations: 55.75 kB / 412.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1862, allocations: 157 kB / 412.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1864, allocations: 331.3 kB / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1864, allocations: 0 / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1864, allocations: 3.938 kB / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1864, allocations: 0 / 412.7 MB, free: 23.07 MB / 298.7 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.001024/0.1874, allocations: 0.6255 MB / 413.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1875, allocations: 15.97 kB / 413.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.1875, allocations: 32.56 kB / 413.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1878, allocations: 288.6 kB / 413.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1878, allocations: 16.94 kB / 413.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.1879, allocations: 24.38 kB / 413.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.1885, allocations: 331.9 kB / 414 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1885, allocations: 0 / 414 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.1885, allocations: 12 kB / 414 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1885, allocations: 4 kB / 414 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.1892, allocations: 306.1 kB / 414.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.1908, allocations: 1.204 MB / 415.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.1916, allocations: 285 kB / 415.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.1919, allocations: 120.8 kB / 415.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1919, allocations: 0 / 415.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.1923, allocations: 185 kB / 416.1 MB, free: 19.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.1923, allocations: 4 kB / 416.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001691/0.194, allocations: 0.663 MB / 416.8 MB, free: 18.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.1941, allocations: 89.05 kB / 416.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1943, allocations: 266.5 kB / 417.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1943, allocations: 33.64 kB / 417.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.1944, allocations: 187.6 kB / 417.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1944, allocations: 47.39 kB / 417.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.1944, allocations: 4 kB / 417.4 MB, free: 18.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.1945, allocations: 334.8 kB / 417.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1948, allocations: 112.2 kB / 417.8 MB, free: 17.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.1951, allocations: 215.4 kB / 418 MB, free: 17.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.1957, allocations: 328.6 kB / 418.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1957, allocations: 0 / 418.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009888/0.1967, allocations: 482.8 kB / 418.8 MB, free: 16.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.1967, allocations: 41.62 kB / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1967, allocations: 0 / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.197, allocations: 76.88 kB / 418.9 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.1972, allocations: 55.91 kB / 419 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.1991, allocations: 1.752 MB / 420.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.1994, allocations: 55.72 kB / 420.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.1994, allocations: 19.92 kB / 420.8 MB, free: 14.39 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.1995, allocations: 153.8 kB / 421 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1996, allocations: 15.81 kB / 421 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.1996, allocations: 25.72 kB / 421 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1996, allocations: 3.984 kB / 421 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1996, allocations: 0 / 421 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1996, allocations: 3.938 kB / 421 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1998, allocations: 313.3 kB / 421.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1998, allocations: 0 / 421.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2, allocations: 39.97 kB / 421.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.2002, allocations: 68.81 kB / 421.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2002, allocations: 0 / 421.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.2016, allocations: 1.542 MB / 423 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2016, allocations: 0 / 423 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.2028, allocations: 0.5008 MB / 423.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.2028, allocations: 108.7 kB / 423.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2028, allocations: 0 / 423.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2031, allocations: 35.97 kB / 423.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.2031, allocations: 24.03 kB / 423.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2032, allocations: 8 kB / 423.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2033, allocations: 190 kB / 423.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2033, allocations: 0 / 423.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.2036, allocations: 63.84 kB / 423.9 MB, free: 11.09 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.2037, allocations: 111.2 kB / 424 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2048, allocations: 0.4979 MB / 424.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2048, allocations: 0 / 424.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.2052, allocations: 231.1 kB / 424.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2055, allocations: 50.8 kB / 424.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.2084, allocations: 1.035 MB / 425.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2085, allocations: 0.7482 MB / 426.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.2086, allocations: 23.38 kB / 426.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2086, allocations: 0 / 426.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of Templates: time 0.00473/0.2133, allocations: 4.506 MB / 431.1 MB, free: 3.812 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches