Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001135, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 223.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.0009249, allocations: 98.28 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008062/0.0008063, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2022, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003925/0.2062, allocations: 2.651 MB / 376.5 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2072, allocations: 0.7042 MB / 377.2 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2073, allocations: 7.312 kB / 377.2 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2075, allocations: 19.22 kB / 377.2 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.2076, allocations: 75.5 kB / 377.3 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2079, allocations: 83.58 kB / 377.4 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.2081, allocations: 315.4 kB / 377.7 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.2083, allocations: 67.44 kB / 377.7 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2085, allocations: 114.2 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2086, allocations: 134 kB / 378 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.2087, allocations: 17.41 kB / 378 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.276e-05/0.2087, allocations: 17.53 kB / 378 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.2088, allocations: 53.3 kB / 378.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2089, allocations: 125.5 kB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2091, allocations: 292.1 kB / 378.5 MB, free: 42.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2091, allocations: 5.156 kB / 378.5 MB, free: 42.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2091, allocations: 0 / 378.5 MB, free: 42.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2091, allocations: 0 / 378.5 MB, free: 42.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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00102/0.2102, allocations: 0.6165 MB / 379.1 MB, free: 41.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2102, allocations: 9.844 kB / 379.1 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.2103, allocations: 26.41 kB / 379.1 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2105, allocations: 266 kB / 379.4 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2105, allocations: 16.28 kB / 379.4 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.2106, allocations: 21.09 kB / 379.4 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.2111, allocations: 246 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2111, allocations: 0 / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2111, allocations: 6.5 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2112, allocations: 4.75 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.2119, allocations: 245.9 kB / 379.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.2131, allocations: 0.8343 MB / 380.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007755/0.2138, allocations: 229.8 kB / 381 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.2141, allocations: 95.69 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2142, allocations: 5 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.2146, allocations: 153.2 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.2146, allocations: 4 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001633/0.2162, allocations: 0.5404 MB / 381.8 MB, free: 39.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2163, allocations: 83.72 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2165, allocations: 235.1 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2165, allocations: 31.77 kB / 382.1 MB, free: 39.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.2166, allocations: 156.4 kB / 382.3 MB, free: 39.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2166, allocations: 52.91 kB / 382.3 MB, free: 39.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.2167, allocations: 41.48 kB / 382.4 MB, free: 39.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.2167, allocations: 334.8 kB / 382.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.217, allocations: 100.2 kB / 382.8 MB, free: 38.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.2173, allocations: 144.8 kB / 382.9 MB, free: 38.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.2179, allocations: 238.6 kB / 383.2 MB, free: 38.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2179, allocations: 1.375 kB / 383.2 MB, free: 38.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009128/0.2188, allocations: 385.3 kB / 383.5 MB, free: 38.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.2189, allocations: 43.28 kB / 383.6 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2189, allocations: 2.875 kB / 383.6 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.2193, allocations: 84.23 kB / 383.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.2195, allocations: 59.8 kB / 383.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.2207, allocations: 1.433 MB / 385.2 MB, free: 36.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.221, allocations: 46.2 kB / 385.2 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.221, allocations: 6.844 kB / 385.2 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002737/0.2213, allocations: 183 kB / 385.4 MB, free: 36.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002426/0.2215, allocations: 131 kB / 385.5 MB, free: 36.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004277/0.222, allocations: 228.1 kB / 385.7 MB, free: 36.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.222, allocations: 1.219 kB / 385.7 MB, free: 36.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006032/0.2226, allocations: 302.3 kB / 386 MB, free: 36.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2226, allocations: 44.41 kB / 386.1 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.2226, allocations: 2.344 kB / 386.1 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.634e-05/0.2227, allocations: 19.92 kB / 386.1 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2229, allocations: 48.97 kB / 386.2 MB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005853/0.2235, allocations: 1.385 MB / 387.5 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.2237, allocations: 37.09 kB / 387.6 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2237, allocations: 6.906 kB / 387.6 MB, free: 34.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/0.2238, allocations: 198.3 kB / 387.8 MB, free: 34.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.2239, allocations: 21.12 kB / 387.8 MB, free: 34.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.2239, allocations: 23.7 kB / 387.8 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2239, allocations: 1.188 kB / 387.8 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2239, allocations: 0 / 387.8 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2239, allocations: 1.188 kB / 387.8 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.2241, allocations: 280.9 kB / 388.1 MB, free: 34.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2241, allocations: 0 / 388.1 MB, free: 34.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.2243, allocations: 37.83 kB / 388.1 MB, free: 34.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.2245, allocations: 48.14 kB / 388.2 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2245, allocations: 1.062 kB / 388.2 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2256, allocations: 1.444 MB / 389.6 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2256, allocations: 4.062 kB / 389.6 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.2309, allocations: 3.618 MB / 393.2 MB, free: 28.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.2309, allocations: 92.86 kB / 393.3 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.231, allocations: 7.984 kB / 393.3 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.2312, allocations: 28.09 kB / 393.4 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.2312, allocations: 24.09 kB / 393.4 MB, free: 28.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2313, allocations: 4 kB / 393.4 MB, free: 28.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.2314, allocations: 176.4 kB / 393.6 MB, free: 28.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2314, allocations: 0 / 393.6 MB, free: 28.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005907/0.232, allocations: 159.7 kB / 393.7 MB, free: 28.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.92e-05/0.2321, allocations: 111.2 kB / 393.8 MB, free: 28.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2332, allocations: 0.6521 MB / 394.5 MB, free: 27.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2332, allocations: 0 / 394.5 MB, free: 27.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.2335, allocations: 218.6 kB / 394.7 MB, free: 27.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2338, allocations: 36.72 kB / 394.7 MB, free: 27.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2349, allocations: 0.8377 MB / 395.6 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.235, allocations: 0.7444 MB / 396.3 MB, free: 25.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.2351, allocations: 25.94 kB / 396.3 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.2352, allocations: 19.44 kB / 396.4 MB, free: 25.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2352, allocations: 4 kB / 396.4 MB, free: 25.62 MB / 298.7 MB Notification: Performance of Templates: time 0.005928/0.2411, allocations: 4.151 MB / 400.5 MB, free: 21.49 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches