Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00139/0.00139, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001491/0.001491, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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.494/1.494, allocations: 230.3 MB / 257.9 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 59.91 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3178, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005021/0.3228, allocations: 3.135 MB / 435.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3245, allocations: 0.8143 MB / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.3247, allocations: 7.938 kB / 436.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.3249, allocations: 51.5 kB / 436.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3251, allocations: 119 kB / 436.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.3255, allocations: 135.8 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.326, allocations: 454.2 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.3262, allocations: 111.4 kB / 437 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.3266, allocations: 179.4 kB / 437.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.3268, allocations: 195.1 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.3269, allocations: 44 kB / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.327, allocations: 44 kB / 437.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.3271, allocations: 87.69 kB / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3273, allocations: 199.1 kB / 437.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.3278, allocations: 0.492 MB / 438.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3278, allocations: 4 kB / 438.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3278, allocations: 0 / 438.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3278, allocations: 0 / 438.2 MB, free: 1.031 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.00146/0.3293, allocations: 0.6355 MB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3294, allocations: 12.03 kB / 438.8 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.3294, allocations: 40.7 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.3299, allocations: 256.9 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.33, allocations: 21.03 kB / 439.1 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.33, allocations: 28.42 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008578/0.3309, allocations: 356.9 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3309, allocations: 0 / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.331, allocations: 12 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.331, allocations: 11.94 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009239/0.3319, allocations: 302.4 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.3345, allocations: 1.226 MB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.3353, allocations: 250.3 kB / 441.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.3358, allocations: 124.8 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3358, allocations: 8.094 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.3363, allocations: 193.8 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.3363, allocations: 0 / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002322/0.3386, allocations: 0.5746 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.3387, allocations: 106.8 kB / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.3391, allocations: 296.5 kB / 442.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.3391, allocations: 29.7 kB / 442.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3393, allocations: 208.4 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.3394, allocations: 63.47 kB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3395, allocations: 57.66 kB / 442.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3397, allocations: 338.8 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.3401, allocations: 116.2 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.3406, allocations: 228.3 kB / 443.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.3415, allocations: 347.1 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3415, allocations: 0 / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001367/0.3428, allocations: 475.8 kB / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.3429, allocations: 41.69 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3429, allocations: 0 / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.3433, allocations: 76.8 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3436, allocations: 63.89 kB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.3461, allocations: 1.533 MB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.3466, allocations: 59.73 kB / 446.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3466, allocations: 16 kB / 446.2 MB, free: 8.535 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.0002274/0.3468, allocations: 145.8 kB / 446.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.3469, allocations: 31.75 kB / 446.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.3469, allocations: 38.14 kB / 446.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3469, allocations: 0 / 446.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3469, allocations: 0 / 446.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3469, allocations: 7.984 kB / 446.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3487, allocations: 0.7642 MB / 447.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3487, allocations: 0 / 447.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.3489, allocations: 47.91 kB / 447.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.3491, allocations: 64.8 kB / 447.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3492, allocations: 4.031 kB / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.3514, allocations: 1.533 MB / 448.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3514, allocations: 0 / 448.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.353, allocations: 0.5615 MB / 449.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/0.353, allocations: 39.77 kB / 449.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.3531, allocations: 4 kB / 449.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.3534, allocations: 40.02 kB / 449.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.3535, allocations: 23.91 kB / 449.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3535, allocations: 8 kB / 449.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.3537, allocations: 207.1 kB / 449.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3537, allocations: 0 / 449.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000485/0.3542, allocations: 79.89 kB / 449.8 MB, free: 4.746 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.0001523/0.3544, allocations: 99.23 kB / 449.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.3555, allocations: 450 kB / 450.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3555, allocations: 3.938 kB / 450.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.356, allocations: 234.5 kB / 450.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3564, allocations: 56.7 kB / 450.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.3594, allocations: 0.8462 MB / 451.5 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3598, allocations: 0.7677 MB / 452.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.36, allocations: 30.95 kB / 452.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.3601, allocations: 27.44 kB / 452.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3601, allocations: 0 / 452.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Templates: time 0.009907/0.37, allocations: 4.512 MB / 456.8 MB, free: 13.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.701761547476053]