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.001037/0.001036, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007936/0.0007939, allocations: 92.83 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002279, allocations: 8 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 51.28 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.001892/0.1968, allocations: 2.442 MB / 409.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007557/0.1976, allocations: 0.7202 MB / 410.7 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1977, allocations: 8.719 kB / 410.7 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.512e-05/0.1978, allocations: 31.77 kB / 410.7 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1979, allocations: 77.38 kB / 410.8 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1981, allocations: 67.86 kB / 410.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1983, allocations: 347.2 kB / 411.2 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1985, allocations: 101.5 kB / 411.3 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1987, allocations: 128.7 kB / 411.4 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1988, allocations: 139.4 kB / 411.5 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1988, allocations: 16 kB / 411.6 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.1989, allocations: 18.97 kB / 411.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.1989, allocations: 51.75 kB / 411.6 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.199, allocations: 77.58 kB / 411.7 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1991, allocations: 328 kB / 412 MB, free: 23.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1992, allocations: 0 / 412 MB, free: 23.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1992, allocations: 0 / 412 MB, free: 23.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1992, allocations: 0 / 412 MB, free: 23.28 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.0009565/0.2001, allocations: 0.6311 MB / 412.7 MB, free: 22.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2002, allocations: 8.031 kB / 412.7 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2002, allocations: 43.56 kB / 412.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.2005, allocations: 283.5 kB / 413 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2005, allocations: 16.56 kB / 413 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.2006, allocations: 24 kB / 413 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.2012, allocations: 327.6 kB / 413.3 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.2012, allocations: 3.938 kB / 413.3 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.2012, allocations: 12 kB / 413.4 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.2012, allocations: 4 kB / 413.4 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.2019, allocations: 302.1 kB / 413.7 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.2035, allocations: 1.212 MB / 414.9 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.2042, allocations: 274.5 kB / 415.1 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.2046, allocations: 116.8 kB / 415.3 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2046, allocations: 4 kB / 415.3 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.205, allocations: 185 kB / 415.4 MB, free: 19.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.205, allocations: 0 / 415.4 MB, free: 19.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001768/0.2068, allocations: 0.6669 MB / 416.1 MB, free: 18.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.2068, allocations: 77.11 kB / 416.2 MB, free: 18.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.207, allocations: 270.5 kB / 416.4 MB, free: 18.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.207, allocations: 29.7 kB / 416.5 MB, free: 18.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.2071, allocations: 187.6 kB / 416.7 MB, free: 18.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.2071, allocations: 47.38 kB / 416.7 MB, free: 18.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.2071, allocations: 8 kB / 416.7 MB, free: 18.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.2072, allocations: 334.8 kB / 417 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.2075, allocations: 120.1 kB / 417.2 MB, free: 17.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.2078, allocations: 211.4 kB / 417.4 MB, free: 17.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.2082, allocations: 150.5 kB / 417.5 MB, free: 17.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2082, allocations: 4 kB / 417.5 MB, free: 17.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001013/0.2092, allocations: 483 kB / 418 MB, free: 16.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2092, allocations: 33.7 kB / 418 MB, free: 16.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2092, allocations: 12.02 kB / 418 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.2095, allocations: 72.75 kB / 418.1 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2097, allocations: 59.95 kB / 418.2 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.2116, allocations: 1.752 MB / 419.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.2119, allocations: 55.89 kB / 420 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2119, allocations: 16 kB / 420 MB, free: 14.82 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 9.795e-05/0.212, allocations: 141.7 kB / 420.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.2121, allocations: 23.72 kB / 420.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.2121, allocations: 25.7 kB / 420.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2121, allocations: 4 kB / 420.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.2121, allocations: 0 / 420.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2121, allocations: 0 / 420.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.2123, allocations: 317.4 kB / 420.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2123, allocations: 7.953 kB / 420.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.2125, allocations: 39.97 kB / 420.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.2127, allocations: 72.8 kB / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2127, allocations: 0 / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.2141, allocations: 1.546 MB / 422.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2142, allocations: 0 / 422.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.2153, allocations: 0.4902 MB / 422.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.2154, allocations: 100.9 kB / 422.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.2154, allocations: 0 / 422.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.2156, allocations: 44.02 kB / 422.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.2157, allocations: 19.97 kB / 422.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2157, allocations: 4 kB / 422.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2158, allocations: 182 kB / 423 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2158, allocations: 0 / 423 MB, free: 11.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.2161, allocations: 79.69 kB / 423.1 MB, free: 11.51 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 9.608e-05/0.2162, allocations: 103.2 kB / 423.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.2173, allocations: 0.506 MB / 423.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2174, allocations: 3.938 kB / 423.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.2177, allocations: 229.3 kB / 423.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.218, allocations: 48.3 kB / 423.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.2208, allocations: 1.034 MB / 425 MB, free: 9.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.221, allocations: 0.7599 MB / 425.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.221, allocations: 19.44 kB / 425.8 MB, free: 8.711 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2211, allocations: 4 kB / 425.8 MB, free: 8.707 MB / 298.7 MB Notification: Performance of Templates: time 0.004546/0.2256, allocations: 4.503 MB / 430.3 MB, free: 4.23 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