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.LowPass.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.001473/0.001473, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001755/0.001755, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 8.055 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [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.002047/0.002047, allocations: 68.75 kB / 379.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2858, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004751/0.2906, allocations: 3.138 MB / 435.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2922, allocations: 0.8065 MB / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.2924, allocations: 7.938 kB / 436.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.2926, allocations: 51.5 kB / 436.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2929, allocations: 123 kB / 436.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.2933, allocations: 127.8 kB / 436.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000593/0.2938, allocations: 462.2 kB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.2941, allocations: 99.45 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.2945, allocations: 191.3 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.2947, allocations: 191.2 kB / 437.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.2948, allocations: 44 kB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.2949, allocations: 44 kB / 437.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.295, allocations: 83.7 kB / 437.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.2952, allocations: 203 kB / 438 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.2958, allocations: 0.4958 MB / 438.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2958, allocations: 0 / 438.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2958, allocations: 0 / 438.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2958, allocations: 0 / 438.5 MB, free: 0.8984 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.001449/0.2972, allocations: 0.6433 MB / 439.1 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2973, allocations: 8.031 kB / 439.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.2974, allocations: 44.69 kB / 439.2 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.2979, allocations: 259.2 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.2979, allocations: 25.03 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.298, allocations: 26.06 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.2987, allocations: 353 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2988, allocations: 0 / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.2988, allocations: 16 kB / 439.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2988, allocations: 8 kB / 439.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.2996, allocations: 306.4 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.302, allocations: 1.222 MB / 441.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.3028, allocations: 250.3 kB / 441.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.3032, allocations: 136.8 kB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3033, allocations: 0 / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/0.3038, allocations: 189.8 kB / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.3038, allocations: 0 / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002119/0.3059, allocations: 0.5714 MB / 442.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.306, allocations: 106.8 kB / 442.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.3064, allocations: 300.4 kB / 442.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.3064, allocations: 33.7 kB / 442.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3066, allocations: 212.3 kB / 443.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.3067, allocations: 59.53 kB / 443.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3068, allocations: 53.66 kB / 443.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3069, allocations: 338.8 kB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.3073, allocations: 120.2 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.3078, allocations: 209.3 kB / 443.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.3086, allocations: 337.8 kB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3086, allocations: 0 / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001295/0.3099, allocations: 491.7 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.3099, allocations: 41.62 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.31, allocations: 4 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.3103, allocations: 64.88 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.3106, allocations: 75.88 kB / 444.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.3128, allocations: 1.529 MB / 446.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.3132, allocations: 55.73 kB / 446.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3132, allocations: 15.94 kB / 446.5 MB, free: 8.406 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.3134, allocations: 149.8 kB / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.3134, allocations: 31.86 kB / 446.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.3135, allocations: 26.14 kB / 446.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3135, allocations: 4 kB / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3135, allocations: 0 / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3135, allocations: 0 / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3151, allocations: 0.7784 MB / 447.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3151, allocations: 0 / 447.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.3153, allocations: 43.84 kB / 447.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.3156, allocations: 68.83 kB / 447.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.3156, allocations: 8 kB / 447.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.3177, allocations: 1.529 MB / 449.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3177, allocations: 0 / 449.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.3192, allocations: 0.5671 MB / 449.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.3193, allocations: 35.81 kB / 449.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.3193, allocations: 4 kB / 449.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.3196, allocations: 39.97 kB / 449.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3197, allocations: 27.89 kB / 449.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3197, allocations: 4 kB / 449.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.3199, allocations: 207.1 kB / 450 MB, free: 4.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3199, allocations: 4 kB / 450 MB, free: 4.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004504/0.3204, allocations: 83.84 kB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.3206, allocations: 103.2 kB / 450.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3216, allocations: 440.7 kB / 450.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3216, allocations: 0 / 450.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.3221, allocations: 230.5 kB / 450.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3225, allocations: 60.41 kB / 450.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.3252, allocations: 0.8539 MB / 451.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.3256, allocations: 0.7639 MB / 452.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.3258, allocations: 34.95 kB / 452.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.3259, allocations: 23.44 kB / 452.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3259, allocations: 0 / 452.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Templates: time 0.009781/0.3356, allocations: 4.508 MB / 457.1 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.869180206209421]