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.000891/0.000891, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.0009654/0.0009654, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.9485/0.9485, allocations: 177 MB / 204.8 MB, free: 5.574 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.793e-06/1.793e-06, allocations: 0 / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.935e-05, allocations: 5.266 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004451/0.00448, allocations: 3.114 MB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.005911, allocations: 0.7519 MB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.006078, allocations: 8 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.006265, allocations: 59.42 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.006522, allocations: 130.9 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.006841, allocations: 111.8 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.007337, allocations: 473.8 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.00755, allocations: 99.39 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.007979, allocations: 267.4 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.008207, allocations: 147.6 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.008274, allocations: 44 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.008337, allocations: 44 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.008413, allocations: 99.59 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.008562, allocations: 135.7 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.008957, allocations: 294.9 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008959, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008961, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.008968, allocations: 0 / 278.7 MB, free: 11.62 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.001095/0.01006, allocations: 0.7197 MB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.0101, allocations: 8.031 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.01023, allocations: 64.7 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.01062, allocations: 259.5 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.01064, allocations: 21.03 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.0107, allocations: 28.38 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.01122, allocations: 308.4 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01124, allocations: 4.188 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.01127, allocations: 15.94 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.01128, allocations: 4 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.01158, allocations: 111.9 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.01328, allocations: 1.049 MB / 281.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.01351, allocations: 107 kB / 281.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.01363, allocations: 50.78 kB / 281.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.01365, allocations: 4 kB / 281.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.01393, allocations: 228.8 kB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.01393, allocations: 3.938 kB / 281.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009481/0.01488, allocations: 285.1 kB / 281.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.01495, allocations: 140.5 kB / 282.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.01525, allocations: 320.2 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01528, allocations: 29.7 kB / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01542, allocations: 255.1 kB / 282.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.01548, allocations: 67.45 kB / 282.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01559, allocations: 67.31 kB / 282.8 MB, free: 7.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01574, allocations: 0.5001 MB / 283.3 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.01586, allocations: 65.95 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.01609, allocations: 299.3 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.01636, allocations: 214.1 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01636, allocations: 0 / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006021/0.01696, allocations: 337.5 kB / 284.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.017, allocations: 29.7 kB / 284.2 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.01701, allocations: 4 kB / 284.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.01741, allocations: 87.89 kB / 284.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.01762, allocations: 51.91 kB / 284.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.01937, allocations: 1.988 MB / 286.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.0196, allocations: 51.75 kB / 286.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.01962, allocations: 8 kB / 286.4 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.0001419/0.01977, allocations: 172.5 kB / 286.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.01982, allocations: 31.86 kB / 286.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.01987, allocations: 30.11 kB / 286.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01987, allocations: 0 / 286.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01987, allocations: 7.938 kB / 286.6 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01988, allocations: 7.984 kB / 286.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.02013, allocations: 240.3 kB / 286.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02013, allocations: 0 / 286.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.02027, allocations: 31.91 kB / 286.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.02059, allocations: 75.67 kB / 287 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.02061, allocations: 12.09 kB / 287 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.02218, allocations: 1.976 MB / 289 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02218, allocations: 0 / 289 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.02272, allocations: 271.7 kB / 289.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.02277, allocations: 35.72 kB / 289.3 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.02281, allocations: 7.938 kB / 289.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.02298, allocations: 23.97 kB / 289.3 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.02306, allocations: 27.91 kB / 289.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.02308, allocations: 7.984 kB / 289.3 MB, free: 136 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.02328, allocations: 213.1 kB / 289.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02328, allocations: 0 / 289.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000406/0.02369, allocations: 99.81 kB / 289.7 MB, free: 15.83 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.0001498/0.02384, allocations: 103.2 kB / 289.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.02452, allocations: 412.5 kB / 290.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.02453, allocations: 0 / 290.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.02484, allocations: 254 kB / 290.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.0252, allocations: 64.53 kB / 290.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.02685, allocations: 0.5846 MB / 291.1 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.145e-05/0.02692, allocations: 88.62 kB / 291.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.02704, allocations: 26.97 kB / 291.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.02711, allocations: 24.5 kB / 291.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.02712, allocations: 0 / 291.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of Templates: time 0.007138/0.03425, allocations: 4.968 MB / 296.2 MB, free: 9.285 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.9347941051237285]