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.001081/0.001081, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002551, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006639/0.0006639, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002008, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.036/1.036, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07932/1.116, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.252e-06/1.252e-06, allocations: 3.938 kB / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.752e-05, allocations: 2.312 kB / 239.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003206/0.003223, allocations: 3.095 MB / 242.7 MB, free: 20 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.004212, allocations: 0.779 MB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004322, allocations: 8 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.797e-05/0.00442, allocations: 59.44 kB / 243.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.004563, allocations: 119 kB / 243.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.004748, allocations: 135.7 kB / 243.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.005071, allocations: 470 kB / 244.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.005229, allocations: 106 kB / 244.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.0055, allocations: 300 kB / 244.6 MB, free: 14.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.005653, allocations: 159.5 kB / 244.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.005699, allocations: 48 kB / 244.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.005742, allocations: 44 kB / 244.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.00579, allocations: 63.81 kB / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.005879, allocations: 111.8 kB / 245.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.006134, allocations: 263 kB / 245.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.006149, allocations: 4 kB / 245.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006151, allocations: 0 / 245.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.00617, allocations: 0 / 245.3 MB, free: 13.38 MB / 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.000806/0.006976, allocations: 0.665 MB / 246 MB, free: 12.69 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.007006, allocations: 8.031 kB / 246 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.007065, allocations: 44.91 kB / 246 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.007282, allocations: 204.7 kB / 246.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.007299, allocations: 21.03 kB / 246.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.007331, allocations: 28.38 kB / 246.3 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.007631, allocations: 309.7 kB / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.007641, allocations: 192 / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.007659, allocations: 15.94 kB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.007667, allocations: 4 kB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.007775, allocations: 80.5 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.008689, allocations: 0.8624 MB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.008875, allocations: 122.4 kB / 247.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.008945, allocations: 48.83 kB / 247.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.008967, allocations: 7.938 kB / 247.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.009125, allocations: 168.4 kB / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.71e-07/0.009126, allocations: 0 / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004521/0.009578, allocations: 236.7 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.009608, allocations: 59.34 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.009755, allocations: 261.1 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.009773, allocations: 29.7 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.009849, allocations: 188.8 kB / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.009884, allocations: 67.5 kB / 248.7 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.009939, allocations: 53.64 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003431/0.01028, allocations: 334.8 kB / 249.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.01033, allocations: 57.97 kB / 249.1 MB, free: 9.301 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.01044, allocations: 205.6 kB / 249.3 MB, free: 9.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.01057, allocations: 182.8 kB / 249.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01057, allocations: 0 / 249.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000269/0.01084, allocations: 273.5 kB / 249.8 MB, free: 8.531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.01087, allocations: 29.7 kB / 249.8 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01088, allocations: 4 kB / 249.8 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.01103, allocations: 61.09 kB / 249.9 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.0112, allocations: 75.89 kB / 250 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006876/0.01189, allocations: 1.213 MB / 251.2 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.01201, allocations: 43.83 kB / 251.2 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.01202, allocations: 12 kB / 251.2 MB, free: 7 MB / 250.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.155e-05/0.0121, allocations: 133.8 kB / 251.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.01213, allocations: 23.91 kB / 251.4 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.01215, allocations: 26.11 kB / 251.4 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01216, allocations: 4 kB / 251.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01216, allocations: 0 / 251.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01216, allocations: 0 / 251.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.01255, allocations: 392.1 kB / 251.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01256, allocations: 4.031 kB / 251.8 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01268, allocations: 47.89 kB / 251.8 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.0127, allocations: 23.8 kB / 251.9 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.01281, allocations: 48.83 kB / 251.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01282, allocations: 4 kB / 251.9 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005181/0.01333, allocations: 1.19 MB / 253.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01334, allocations: 4 kB / 253.1 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.01358, allocations: 283.7 kB / 253.4 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.0136, allocations: 11.94 kB / 253.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.0137, allocations: 19.98 kB / 253.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.01374, allocations: 23.95 kB / 253.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01375, allocations: 0 / 253.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.01381, allocations: 86.78 kB / 253.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01381, allocations: 32 / 253.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.01401, allocations: 91.83 kB / 253.6 MB, free: 4.461 MB / 250.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 0.0001046/0.01411, allocations: 84.36 kB / 253.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.01439, allocations: 306.8 kB / 254 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.0144, allocations: 4 kB / 254 MB, free: 4.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.01451, allocations: 168.1 kB / 254.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01473, allocations: 79.56 kB / 254.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.01677, allocations: 0.6535 MB / 254.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.01682, allocations: 84.31 kB / 255 MB, free: 2.992 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.69e-05/0.0169, allocations: 34.95 kB / 255 MB, free: 2.961 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.01703, allocations: 107.4 kB / 255.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01703, allocations: 0 / 255.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of Templates: time 0.006289/0.02332, allocations: 4.756 MB / 259.9 MB, free: 14.17 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 -emit_protected -ignoreHideResult -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.661950370296836]