Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009799/0.0009799, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009847/0.0009847, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9906/0.9906, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.055e-05, allocations: 5.266 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004824/0.004854, allocations: 3.071 MB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.006465, allocations: 0.7519 MB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.006694, allocations: 11.94 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.00689, allocations: 47.5 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.007152, allocations: 134.9 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.007464, allocations: 107.8 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.008064, allocations: 473.8 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.00828, allocations: 99.42 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.008745, allocations: 267.4 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.008938, allocations: 151.6 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.009, allocations: 44 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.009048, allocations: 44 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.009114, allocations: 95.61 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.009233, allocations: 143.7 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.009579, allocations: 291 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.009585, allocations: 0 / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009586, allocations: 0 / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.009591, allocations: 0 / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008015/0.01039, allocations: 0.7197 MB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01043, allocations: 8.031 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.0105, allocations: 64.69 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.01076, allocations: 259.5 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.01078, allocations: 25.03 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.01082, allocations: 28.38 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.01113, allocations: 284.4 kB / 280.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01114, allocations: 192 / 280.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.01116, allocations: 15.94 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01117, allocations: 11.98 kB / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.0113, allocations: 84.52 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01243, allocations: 1.049 MB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.01256, allocations: 110.9 kB / 281.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.0126, allocations: 42.31 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01262, allocations: 4 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.01281, allocations: 216.8 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.01281, allocations: 4 kB / 282 MB, free: 8.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005514/0.01336, allocations: 273.1 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.01341, allocations: 132.5 kB / 282.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01359, allocations: 316 kB / 282.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01361, allocations: 29.7 kB / 282.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01372, allocations: 259 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.01376, allocations: 67.45 kB / 283 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.01384, allocations: 67.28 kB / 283.1 MB, free: 7.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01396, allocations: 0.5118 MB / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.01402, allocations: 49.97 kB / 283.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.01415, allocations: 291.3 kB / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.0143, allocations: 206 kB / 284.1 MB, free: 5.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01431, allocations: 4 kB / 284.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003335/0.01464, allocations: 313.5 kB / 284.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.01467, allocations: 36.83 kB / 284.5 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01468, allocations: 8 kB / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/0.01492, allocations: 75.61 kB / 284.6 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01504, allocations: 55.91 kB / 284.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.0162, allocations: 1.946 MB / 286.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.01635, allocations: 51.88 kB / 286.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01637, allocations: 12 kB / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.01648, allocations: 184.5 kB / 286.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.01651, allocations: 31.86 kB / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.01654, allocations: 30.11 kB / 286.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01654, allocations: 4 kB / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01654, allocations: 0 / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01655, allocations: 3.938 kB / 286.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.01669, allocations: 200.9 kB / 287.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01669, allocations: 0 / 287.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.01676, allocations: 23.98 kB / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.01696, allocations: 79.61 kB / 287.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01697, allocations: 7.938 kB / 287.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.01787, allocations: 1.946 MB / 289.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01787, allocations: 3.938 kB / 289.1 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.01815, allocations: 243.7 kB / 289.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.01817, allocations: 27.78 kB / 289.4 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.01819, allocations: 4 kB / 289.4 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.01828, allocations: 32.03 kB / 289.4 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.01833, allocations: 23.95 kB / 289.5 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01834, allocations: 8 kB / 289.5 MB, free: 256 kB / 266.7 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.01844, allocations: 205.1 kB / 289.7 MB, free: 52 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01844, allocations: 0 / 289.7 MB, free: 52 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.01869, allocations: 91.89 kB / 289.8 MB, free: 15.96 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.0188, allocations: 103.2 kB / 289.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.01914, allocations: 408.4 kB / 290.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01914, allocations: 0 / 290.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.0193, allocations: 252.2 kB / 290.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.01952, allocations: 56.23 kB / 290.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.02052, allocations: 0.5884 MB / 291.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.02057, allocations: 92.61 kB / 291.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.02065, allocations: 30.95 kB / 291.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.02079, allocations: 134.2 kB / 291.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0208, allocations: 0 / 291.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Templates: time 0.006465/0.02726, allocations: 5.064 MB / 296.5 MB, free: 9.223 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.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.7999446517787874]