Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, 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.234/1.234, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009033/0.0009034, allocations: 104 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008165/0.0008166, allocations: 47.94 kB / 327.2 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2184, allocations: 46.62 MB / 373.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003538/0.222, allocations: 2.863 MB / 376.7 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.223, allocations: 0.7486 MB / 377.5 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2232, allocations: 4.656 kB / 377.5 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2233, allocations: 31.14 kB / 377.5 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.2235, allocations: 86.05 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.2238, allocations: 91.55 kB / 377.7 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.2241, allocations: 372.1 kB / 378 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2243, allocations: 80.08 kB / 378.1 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2245, allocations: 136.5 kB / 378.2 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.2246, allocations: 155.3 kB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.2247, allocations: 24.91 kB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.921e-05/0.2247, allocations: 19.94 kB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.2248, allocations: 63.38 kB / 378.5 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2249, allocations: 149.4 kB / 378.6 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.2252, allocations: 345.8 kB / 379 MB, free: 41.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2252, allocations: 0 / 379 MB, free: 41.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2252, allocations: 0 / 379 MB, free: 41.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2253, allocations: 1.188 kB / 379 MB, free: 41.89 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001085/0.2263, allocations: 0.668 MB / 379.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2264, allocations: 9.781 kB / 379.7 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.2265, allocations: 36.31 kB / 379.7 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.2268, allocations: 284.1 kB / 380 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2268, allocations: 14.41 kB / 380 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2268, allocations: 26.92 kB / 380 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.2275, allocations: 269.2 kB / 380.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2275, allocations: 0 / 380.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2275, allocations: 10.19 kB / 380.3 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2275, allocations: 9.656 kB / 380.3 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.2283, allocations: 266.7 kB / 380.6 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.2296, allocations: 0.8937 MB / 381.4 MB, free: 39.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.2304, allocations: 345.7 kB / 381.8 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.2307, allocations: 132.9 kB / 381.9 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2308, allocations: 1.531 kB / 381.9 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.2312, allocations: 196.2 kB / 382.1 MB, free: 39.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.2312, allocations: 0 / 382.1 MB, free: 39.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001688/0.2329, allocations: 0.5797 MB / 382.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.233, allocations: 105.5 kB / 382.8 MB, free: 39.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.2332, allocations: 270.9 kB / 383.1 MB, free: 38.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2332, allocations: 30.83 kB / 383.1 MB, free: 38.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.2333, allocations: 175.9 kB / 383.3 MB, free: 38.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.2334, allocations: 65.88 kB / 383.3 MB, free: 38.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.2335, allocations: 52.28 kB / 383.4 MB, free: 38.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.2335, allocations: 336.7 kB / 383.7 MB, free: 38.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.2338, allocations: 106.6 kB / 383.8 MB, free: 38.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.2342, allocations: 166.6 kB / 384 MB, free: 38.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.2347, allocations: 273.7 kB / 384.2 MB, free: 37.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2347, allocations: 5.281 kB / 384.2 MB, free: 37.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009918/0.2357, allocations: 425 kB / 384.7 MB, free: 37.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.2358, allocations: 32.61 kB / 384.7 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2358, allocations: 5.156 kB / 384.7 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.2362, allocations: 93.94 kB / 384.8 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2364, allocations: 61.14 kB / 384.8 MB, free: 37.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.2377, allocations: 1.447 MB / 386.3 MB, free: 36.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.238, allocations: 49.22 kB / 386.3 MB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.238, allocations: 7.844 kB / 386.3 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003024/0.2384, allocations: 190.6 kB / 386.5 MB, free: 35.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002767/0.2386, allocations: 157.5 kB / 386.7 MB, free: 35.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005017/0.2391, allocations: 254.7 kB / 386.9 MB, free: 35.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.2392, allocations: 1.062 kB / 386.9 MB, free: 35.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006742/0.2398, allocations: 339.6 kB / 387.3 MB, free: 35.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2399, allocations: 36.92 kB / 387.3 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2399, allocations: 9.016 kB / 387.3 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.673e-05/0.2399, allocations: 21.14 kB / 387.3 MB, free: 35.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.2402, allocations: 62.95 kB / 387.4 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005902/0.2408, allocations: 1.377 MB / 388.8 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.2411, allocations: 43.91 kB / 388.8 MB, free: 33.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2411, allocations: 15.98 kB / 388.8 MB, free: 33.77 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 (26): * Single equations (assignments): 24 * 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 9.093e-05/0.2412, allocations: 205.1 kB / 389 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.2412, allocations: 23.72 kB / 389.1 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.2413, allocations: 26.17 kB / 389.1 MB, free: 33.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2413, allocations: 4 kB / 389.1 MB, free: 33.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2413, allocations: 4 kB / 389.1 MB, free: 33.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2413, allocations: 3.938 kB / 389.1 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2423, allocations: 0.7162 MB / 389.8 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2424, allocations: 0 / 389.8 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2426, allocations: 47.95 kB / 389.9 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/0.2427, allocations: 40.86 kB / 389.9 MB, free: 32.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2427, allocations: 8 kB / 389.9 MB, free: 32.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.2438, allocations: 1.437 MB / 391.3 MB, free: 31.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2438, allocations: 4.031 kB / 391.3 MB, free: 31.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/0.2491, allocations: 3.838 MB / 395.2 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.2492, allocations: 104.9 kB / 395.3 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.2492, allocations: 8 kB / 395.3 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.2495, allocations: 40.06 kB / 395.3 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.2495, allocations: 23.91 kB / 395.3 MB, free: 26.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2496, allocations: 4 kB / 395.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.2497, allocations: 194 kB / 395.5 MB, free: 26.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2497, allocations: 0 / 395.5 MB, free: 26.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006505/0.2504, allocations: 187.7 kB / 395.7 MB, free: 26.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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 0.0001181/0.2505, allocations: 115.1 kB / 395.8 MB, free: 26.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.2516, allocations: 0.6923 MB / 396.5 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2516, allocations: 4 kB / 396.5 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.252, allocations: 232.4 kB / 396.8 MB, free: 25.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2524, allocations: 52.89 kB / 396.8 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2535, allocations: 0.9486 MB / 397.8 MB, free: 24.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2536, allocations: 0.7599 MB / 398.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.2538, allocations: 30.28 kB / 398.6 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.2539, allocations: 23.44 kB / 398.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2539, allocations: 0 / 398.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of Templates: time 0.006779/0.2607, allocations: 4.755 MB / 403.3 MB, free: 18.63 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches