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.0009618/0.0009618, allocations: 79.69 kB / 21.7 MB, free: 2.855 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.0009961/0.0009961, allocations: 157.6 kB / 24.99 MB, free: 8.762 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.9236/0.9236, allocations: 177 MB / 205.2 MB, free: 5.613 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.683e-06/1.683e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.288e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003172/0.003195, allocations: 3.098 MB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.00445, allocations: 0.7519 MB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.004626, allocations: 15.94 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.004786, allocations: 51.5 kB / 277 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.004973, allocations: 126.9 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.005246, allocations: 119.7 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.005837, allocations: 469.8 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.006017, allocations: 95.44 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.00633, allocations: 275.4 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.006493, allocations: 147.6 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.006538, allocations: 44 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.856e-05/0.006576, allocations: 47.94 kB / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.006628, allocations: 91.61 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.00673, allocations: 135.7 kB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.007004, allocations: 291 kB / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.007007, allocations: 0 / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007007, allocations: 0 / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.007012, allocations: 0 / 278.8 MB, free: 11.97 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.0007864/0.007799, allocations: 0.7197 MB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.007832, allocations: 8.031 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.007925, allocations: 68.7 kB / 279.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.008198, allocations: 259.5 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.00822, allocations: 25.03 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.008261, allocations: 32.38 kB / 279.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.008635, allocations: 304.4 kB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.008645, allocations: 192 / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.00867, allocations: 15.94 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.00868, allocations: 4 kB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.008885, allocations: 119.8 kB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01, allocations: 1.041 MB / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.01016, allocations: 111 kB / 281.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.01024, allocations: 50.33 kB / 281.5 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.01026, allocations: 4 kB / 281.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.01047, allocations: 224.8 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.01047, allocations: 0 / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006445/0.01111, allocations: 297 kB / 282 MB, free: 8.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.01117, allocations: 132.5 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01138, allocations: 316.2 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.0114, allocations: 33.7 kB / 282.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.0115, allocations: 263 kB / 282.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.01154, allocations: 59.48 kB / 282.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.01161, allocations: 67.3 kB / 282.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01172, allocations: 0.504 MB / 283.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.0118, allocations: 61.97 kB / 283.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.01197, allocations: 299.3 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01216, allocations: 218.1 kB / 283.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01216, allocations: 0 / 283.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006406/0.0128, allocations: 337.2 kB / 284.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.01283, allocations: 32.52 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01283, allocations: 4.312 kB / 284.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.01311, allocations: 87.61 kB / 284.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.01324, allocations: 47.91 kB / 284.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.01444, allocations: 1.988 MB / 286.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.01464, allocations: 55.75 kB / 286.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.01466, allocations: 11.94 kB / 286.5 MB, free: 3.621 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.0001261/0.01478, allocations: 172.6 kB / 286.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.01483, allocations: 31.86 kB / 286.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.01487, allocations: 34.05 kB / 286.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01487, allocations: 0 / 286.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01487, allocations: 7.984 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01488, allocations: 3.984 kB / 286.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.0151, allocations: 240.3 kB / 287 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.0151, allocations: 0 / 287 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.01522, allocations: 27.98 kB / 287 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.01544, allocations: 75.61 kB / 287.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01545, allocations: 8 kB / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009751/0.01643, allocations: 1.98 MB / 289.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01643, allocations: 3.938 kB / 289.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.01678, allocations: 267.7 kB / 289.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.01681, allocations: 27.78 kB / 289.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.01683, allocations: 4 kB / 289.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.01692, allocations: 27.92 kB / 289.4 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.01699, allocations: 31.95 kB / 289.4 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.017, allocations: 8 kB / 289.4 MB, free: 488 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.01712, allocations: 217.1 kB / 289.6 MB, free: 272 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01712, allocations: 0 / 289.6 MB, free: 272 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000229/0.01735, allocations: 95.84 kB / 289.7 MB, free: 176 kB / 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 9.401e-05/0.01745, allocations: 99.25 kB / 289.8 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.01786, allocations: 416.8 kB / 290.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.01786, allocations: 0 / 290.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.01803, allocations: 256.2 kB / 290.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01826, allocations: 53.84 kB / 290.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.01936, allocations: 0.5966 MB / 291.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.01941, allocations: 88.62 kB / 291.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.523e-05/0.01948, allocations: 30.95 kB / 291.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.0198, allocations: 24.5 kB / 291.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0198, allocations: 0 / 291.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.006215/0.02602, allocations: 4.726 MB / 296 MB, free: 9.863 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.853760171914473]