Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009308/0.0009308, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 268.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.404e-05, allocations: 6.25 kB / 268.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002751/0.002765, allocations: 3.091 MB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.003698, allocations: 0.7751 MB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.003814, allocations: 8 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.003944, allocations: 55.42 kB / 272.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.004093, allocations: 119 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.004323, allocations: 131.8 kB / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.004629, allocations: 474 kB / 273.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.00478, allocations: 106 kB / 273.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.005011, allocations: 267.4 kB / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.005154, allocations: 147.6 kB / 273.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.005203, allocations: 44 kB / 273.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.005238, allocations: 44 kB / 273.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.005289, allocations: 91.67 kB / 273.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.005374, allocations: 143.6 kB / 274 MB, free: 456 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.0056, allocations: 283 kB / 274.3 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005602, allocations: 4 kB / 274.3 MB, free: 168 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005602, allocations: 3.938 kB / 274.3 MB, free: 164 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.005606, allocations: 0 / 274.3 MB, free: 164 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006333/0.00624, allocations: 0.5951 MB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.006265, allocations: 8.031 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.006322, allocations: 48.89 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.00652, allocations: 196.8 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.006536, allocations: 24.97 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.006569, allocations: 28.38 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.006848, allocations: 309.7 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006856, allocations: 192 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.006877, allocations: 19.92 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.006884, allocations: 4 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.006989, allocations: 84.44 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.007867, allocations: 0.8585 MB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.008034, allocations: 122.4 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.008104, allocations: 48.83 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.008119, allocations: 0 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.008256, allocations: 172.4 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.008257, allocations: 0 / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004512/0.008708, allocations: 230.3 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.008755, allocations: 118.7 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.008892, allocations: 261.1 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.008909, allocations: 29.7 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.008978, allocations: 188.8 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.00901, allocations: 67.44 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.009071, allocations: 53.64 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.00914, allocations: 338.8 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.00919, allocations: 53.97 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-05/0.009288, allocations: 213.2 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.009415, allocations: 183.8 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009417, allocations: 0 / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002592/0.009676, allocations: 272.5 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.0097, allocations: 33.7 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009705, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.009861, allocations: 65.03 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01002, allocations: 75.89 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006563/0.01068, allocations: 1.198 MB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.0108, allocations: 43.77 kB / 280.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01082, allocations: 12 kB / 280.2 MB, free: 9.785 MB / 266.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 (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 (31): * Single equations (assignments): 29 * 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 8.557e-05/0.01091, allocations: 129.8 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.01093, allocations: 23.91 kB / 280.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.01096, allocations: 30.11 kB / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.01096, allocations: 0 / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01096, allocations: 0 / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01097, allocations: 0 / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.01137, allocations: 392.1 kB / 280.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01137, allocations: 4.031 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.01149, allocations: 47.84 kB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.0116, allocations: 44.83 kB / 280.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01161, allocations: 4 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005698/0.01218, allocations: 1.201 MB / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01219, allocations: 4 kB / 282.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.01243, allocations: 275.8 kB / 282.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.01246, allocations: 27.78 kB / 282.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.01248, allocations: 3.938 kB / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.01257, allocations: 23.98 kB / 282.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.01262, allocations: 19.97 kB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.01263, allocations: 3.984 kB / 282.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.476e-05/0.0127, allocations: 86.78 kB / 282.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0127, allocations: 0 / 282.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.0129, allocations: 87.88 kB / 282.6 MB, free: 7.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 7.846e-05/0.01298, allocations: 84.41 kB / 282.7 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.01325, allocations: 311.4 kB / 283 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.01326, allocations: 4 kB / 283 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01337, allocations: 171.4 kB / 283.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01357, allocations: 62.08 kB / 283.2 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.01466, allocations: 0.6499 MB / 283.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01471, allocations: 84.31 kB / 283.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.111e-05/0.01479, allocations: 30.97 kB / 284 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.01493, allocations: 107.3 kB / 284.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01493, allocations: 0 / 284.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of Templates: time 0.006682/0.02161, allocations: 4.564 MB / 288.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.785492450930178]