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.0009949/0.0009949, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001197/0.001197, allocations: 161.3 kB / 25.61 MB, free: 8.582 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 1.004/1.004, allocations: 177 MB / 205.9 MB, free: 4.457 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.673e-06/1.673e-06, allocations: 0 / 274.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.218e-05, allocations: 2.844 kB / 274.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003644/0.003667, allocations: 3.073 MB / 277.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.004913, allocations: 0.7543 MB / 278 MB, free: 500 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.005091, allocations: 4.875 kB / 278 MB, free: 496 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.005267, allocations: 63.36 kB / 278.1 MB, free: 432 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.005466, allocations: 129.3 kB / 278.2 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.005727, allocations: 107.8 kB / 278.3 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.006106, allocations: 470.7 kB / 278.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.006275, allocations: 87.42 kB / 278.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.006624, allocations: 279.3 kB / 279.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.0068, allocations: 147.5 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.006847, allocations: 44 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.006892, allocations: 48 kB / 279.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.006951, allocations: 95.66 kB / 279.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.007068, allocations: 135.7 kB / 279.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.007365, allocations: 287 kB / 279.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.00737, allocations: 7.922 kB / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007371, allocations: 0 / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.007376, allocations: 0 / 279.9 MB, free: 14.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.0007739/0.00815, allocations: 0.7158 MB / 280.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.008185, allocations: 12.03 kB / 280.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.008262, allocations: 64.66 kB / 280.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.008513, allocations: 259.5 kB / 280.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.008532, allocations: 21.03 kB / 280.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.008569, allocations: 28.38 kB / 280.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.008864, allocations: 284.4 kB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.008874, allocations: 4.125 kB / 281.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.008896, allocations: 15.94 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.008903, allocations: 8 kB / 281.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.00903, allocations: 84.52 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01014, allocations: 1.06 MB / 282.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.01027, allocations: 103 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.01032, allocations: 41.86 kB / 282.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.01035, allocations: 4 kB / 282.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.01053, allocations: 216.8 kB / 282.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.01053, allocations: 0 / 282.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005902/0.01112, allocations: 279.2 kB / 283 MB, free: 11.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.01117, allocations: 136.5 kB / 283.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.01136, allocations: 308.1 kB / 283.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01138, allocations: 29.7 kB / 283.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.0115, allocations: 267 kB / 283.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.01154, allocations: 63.45 kB / 283.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.01161, allocations: 59.34 kB / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01173, allocations: 0.5078 MB / 284.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.0118, allocations: 65.95 kB / 284.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.01193, allocations: 266.9 kB / 284.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.01209, allocations: 215.2 kB / 284.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.0121, allocations: 0 / 284.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003472/0.01244, allocations: 313.7 kB / 285.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.01247, allocations: 33.7 kB / 285.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01248, allocations: 320 / 285.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.01274, allocations: 91.55 kB / 285.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01286, allocations: 43.97 kB / 285.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.01403, allocations: 1.957 MB / 287.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.01418, allocations: 47.7 kB / 287.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.0142, allocations: 12 kB / 287.4 MB, free: 6.469 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.0001004/0.0143, allocations: 180.5 kB / 287.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.01433, allocations: 31.89 kB / 287.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01436, allocations: 34.11 kB / 287.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01436, allocations: 3.938 kB / 287.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01437, allocations: 0 / 287.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01437, allocations: 3.938 kB / 287.6 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.01452, allocations: 201 kB / 287.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01452, allocations: 0 / 287.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.0146, allocations: 23.92 kB / 287.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.0148, allocations: 83.8 kB / 287.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01481, allocations: 4 kB / 288 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009959/0.0158, allocations: 1.946 MB / 289.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.0158, allocations: 3.938 kB / 289.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.01612, allocations: 247.6 kB / 290.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.01615, allocations: 31.8 kB / 290.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01617, allocations: 4 kB / 290.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.01627, allocations: 23.97 kB / 290.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.01633, allocations: 35.95 kB / 290.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01634, allocations: 0 / 290.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.01644, allocations: 205.1 kB / 290.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01644, allocations: 0 / 290.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.0167, allocations: 95.84 kB / 290.5 MB, free: 3.137 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 0.0001503/0.01685, allocations: 101.6 kB / 290.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.01727, allocations: 410.3 kB / 291 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01727, allocations: 0 / 291 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.01745, allocations: 253.4 kB / 291.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01769, allocations: 56.58 kB / 291.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.01875, allocations: 0.5844 MB / 291.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.01881, allocations: 88.62 kB / 292 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.01889, allocations: 38.89 kB / 292 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.01904, allocations: 130.2 kB / 292.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01904, allocations: 4 kB / 292.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of Templates: time 0.007088/0.02613, allocations: 5.157 MB / 297.3 MB, free: 12.32 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.938469272106886]