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.001036/0.001036, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001729/0.001729, allocations: 169.3 kB / 24.91 MB, free: 8.727 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.959/0.959, allocations: 177 MB / 205.2 MB, free: 5.055 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 1.803e-06/1.803e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.93e-05, allocations: 5.266 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004022/0.004052, allocations: 3.076 MB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.005281, allocations: 0.7789 MB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.005433, allocations: 4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.005573, allocations: 51.44 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.00581, allocations: 138.9 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.006068, allocations: 107.8 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.006404, allocations: 469.8 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.006561, allocations: 106 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.006858, allocations: 263.4 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.007025, allocations: 151.6 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.007071, allocations: 48 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.007111, allocations: 48 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.007171, allocations: 87.62 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.007273, allocations: 139.7 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.007556, allocations: 294.9 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007559, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007561, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007566, allocations: 0 / 279.1 MB, free: 11.28 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.0006964/0.008262, allocations: 0.5989 MB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.008292, allocations: 8.031 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.008354, allocations: 56.89 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.008564, allocations: 200.7 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.00858, allocations: 21.03 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.008624, allocations: 28.38 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.008882, allocations: 292.4 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.00889, allocations: 4.188 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.008909, allocations: 11.94 kB / 280.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.008916, allocations: 8 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.009015, allocations: 80.53 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.0099, allocations: 0.8447 MB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.01, allocations: 82.48 kB / 281.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.01005, allocations: 40.83 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.01006, allocations: 4 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.01022, allocations: 211.8 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.01022, allocations: 0 / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004513/0.01067, allocations: 233.6 kB / 281.8 MB, free: 8.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.01072, allocations: 132.5 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.01086, allocations: 260.8 kB / 282.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.01088, allocations: 25.7 kB / 282.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.01096, allocations: 196.8 kB / 282.4 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.01099, allocations: 59.52 kB / 282.5 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.01105, allocations: 57.62 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.01113, allocations: 342.8 kB / 282.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/0.01118, allocations: 57.97 kB / 283 MB, free: 7.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.01128, allocations: 235.8 kB / 283.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.01141, allocations: 178.9 kB / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01141, allocations: 4 kB / 283.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002567/0.01167, allocations: 270.7 kB / 283.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.01169, allocations: 33.7 kB / 283.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.0117, allocations: 4 kB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.01191, allocations: 81.09 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01203, allocations: 47.91 kB / 283.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008538/0.01288, allocations: 1.376 MB / 285.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01301, allocations: 55.73 kB / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01302, allocations: 8 kB / 285.2 MB, free: 4.691 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 8.272e-05/0.0131, allocations: 129.7 kB / 285.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.01313, allocations: 23.97 kB / 285.4 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.01315, allocations: 30.16 kB / 285.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01316, allocations: 3.984 kB / 285.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.01316, allocations: 4 kB / 285.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01316, allocations: 0 / 285.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.01328, allocations: 169.6 kB / 285.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01328, allocations: 0 / 285.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.01335, allocations: 27.92 kB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.01352, allocations: 76.77 kB / 285.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01353, allocations: 4 kB / 285.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006712/0.0142, allocations: 1.36 MB / 287 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.0142, allocations: 32 / 287 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01441, allocations: 201.6 kB / 287.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01444, allocations: 35.62 kB / 287.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.01447, allocations: 7.984 kB / 287.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.01455, allocations: 19.98 kB / 287.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.01459, allocations: 27.95 kB / 287.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.0146, allocations: 4 kB / 287.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.01466, allocations: 90.8 kB / 287.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01466, allocations: 0 / 287.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.01484, allocations: 99.78 kB / 287.5 MB, free: 2.246 MB / 266.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 8.911e-05/0.01493, allocations: 84.41 kB / 287.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.01522, allocations: 329.2 kB / 287.9 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01522, allocations: 4.625 kB / 287.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.01535, allocations: 195.2 kB / 288.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.0155, allocations: 52.41 kB / 288.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.01638, allocations: 0.5829 MB / 288.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.01643, allocations: 88.62 kB / 288.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.0165, allocations: 34.95 kB / 288.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.01662, allocations: 107.3 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01662, allocations: 8 kB / 289 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of Templates: time 0.1029/0.1195, allocations: 4.907 MB / 293.9 MB, free: 25.16 MB / 266.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.777778252027929]