Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00165/0.00165, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002437/0.002437, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 68.91 kB / 379.1 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2977, allocations: 53.38 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005361/0.3031, allocations: 3.131 MB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3051, allocations: 0.8065 MB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.3055, allocations: 7.938 kB / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3058, allocations: 51.48 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.3062, allocations: 123 kB / 436.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.3067, allocations: 131.8 kB / 436.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008242/0.3075, allocations: 450.3 kB / 437.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3078, allocations: 103.4 kB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.3083, allocations: 187.3 kB / 437.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.3087, allocations: 195.1 kB / 437.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3088, allocations: 48 kB / 437.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3089, allocations: 44 kB / 437.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3091, allocations: 79.7 kB / 437.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.3093, allocations: 199.1 kB / 438 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007596/0.3101, allocations: 499.8 kB / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3101, allocations: 0 / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3101, allocations: 0 / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.3101, allocations: 0 / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001766/0.3119, allocations: 0.6433 MB / 439.1 MB, free: 280 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.312, allocations: 8.031 kB / 439.1 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.3121, allocations: 40.7 kB / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.3128, allocations: 257 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.3128, allocations: 21.03 kB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.3129, allocations: 28.36 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.3139, allocations: 356.9 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3139, allocations: 4 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.3139, allocations: 12 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3139, allocations: 4 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.3149, allocations: 310.4 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.3175, allocations: 1.229 MB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.3182, allocations: 218.4 kB / 441.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.3186, allocations: 112.8 kB / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.3186, allocations: 4.25 kB / 441.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.3191, allocations: 189.8 kB / 441.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 3.797e-06/0.3191, allocations: 3.984 kB / 441.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002513/0.3216, allocations: 0.6102 MB / 442.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.3217, allocations: 114.8 kB / 442.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.3221, allocations: 292.2 kB / 442.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.3221, allocations: 29.7 kB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3223, allocations: 216 kB / 443.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.3224, allocations: 55.56 kB / 443.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3225, allocations: 53.66 kB / 443.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3226, allocations: 342.7 kB / 443.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.323, allocations: 115.9 kB / 443.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.3235, allocations: 208.7 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.3242, allocations: 327.7 kB / 444.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3243, allocations: 4 kB / 444.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001423/0.3257, allocations: 486 kB / 444.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.3257, allocations: 37.64 kB / 444.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3257, allocations: 4 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.3262, allocations: 88.8 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.3265, allocations: 55.89 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.3296, allocations: 1.902 MB / 446.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.3299, allocations: 55.8 kB / 446.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.33, allocations: 12 kB / 446.8 MB, free: 8.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.3302, allocations: 149.7 kB / 447 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.3302, allocations: 27.81 kB / 447 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.3303, allocations: 33.86 kB / 447 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3303, allocations: 7.938 kB / 447 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3303, allocations: 0 / 447 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3303, allocations: 0 / 447 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.3307, allocations: 308.5 kB / 447.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3307, allocations: 48 / 447.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3309, allocations: 35.95 kB / 447.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.3312, allocations: 84.8 kB / 447.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3312, allocations: 0 / 447.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.3337, allocations: 1.717 MB / 449.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3337, allocations: 0 / 449.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3352, allocations: 497.4 kB / 449.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.3352, allocations: 27.84 kB / 449.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3353, allocations: 4 kB / 449.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3355, allocations: 39.95 kB / 449.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.3356, allocations: 19.97 kB / 449.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3356, allocations: 7.984 kB / 449.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.3359, allocations: 207.1 kB / 449.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3359, allocations: 0 / 449.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.3364, allocations: 91.83 kB / 450 MB, free: 4.691 MB / 350.1 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: 3 ($whenCondition1,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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.3365, allocations: 107.2 kB / 450.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3377, allocations: 437.8 kB / 450.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3377, allocations: 0 / 450.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.3382, allocations: 237.8 kB / 450.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3385, allocations: 64.86 kB / 450.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3401, allocations: 0.588 MB / 451.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.3405, allocations: 0.7639 MB / 452.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3406, allocations: 34.89 kB / 452.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.3407, allocations: 27.44 kB / 452.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3407, allocations: 0 / 452.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Templates: time 0.01043/0.3511, allocations: 4.669 MB / 456.9 MB, free: 13.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.86302606202662]