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.001841/0.001841, allocations: 110 kB / 20.43 MB, free: 1.453 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.00258/0.00258, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 8 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 59.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2983, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004915/0.3033, allocations: 3.142 MB / 434.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3049, allocations: 0.7792 MB / 435.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.3052, allocations: 4 kB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.3054, allocations: 55.42 kB / 435.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3057, allocations: 131 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.3061, allocations: 103.8 kB / 435.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.3066, allocations: 462.1 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.3069, allocations: 103.4 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.3072, allocations: 183.4 kB / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.3075, allocations: 195.2 kB / 436.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.3076, allocations: 48 kB / 436.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.3077, allocations: 44 kB / 436.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.3078, allocations: 95.61 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.308, allocations: 199.1 kB / 436.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.3086, allocations: 0.4985 MB / 437.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3086, allocations: 4 kB / 437.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3086, allocations: 0 / 437.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.3086, allocations: 0 / 437.2 MB, free: 0.6289 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001362/0.3099, allocations: 0.6271 MB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.31, allocations: 12.03 kB / 437.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.41e-05/0.3101, allocations: 66.72 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.3102, allocations: 44.64 kB / 438 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.3106, allocations: 260.9 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.3107, allocations: 25.03 kB / 438.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.3107, allocations: 28.75 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.3114, allocations: 306 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3114, allocations: 0 / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3114, allocations: 12 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3115, allocations: 12 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.3121, allocations: 278.5 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.3143, allocations: 1.151 MB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.315, allocations: 226.4 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.3153, allocations: 117.1 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3153, allocations: 7.953 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.3158, allocations: 197.4 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.3158, allocations: 0 / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001428/0.3172, allocations: 430 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.3173, allocations: 144.4 kB / 441.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.3177, allocations: 292.2 kB / 441.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3177, allocations: 33.7 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3179, allocations: 216.4 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.3179, allocations: 63.47 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.318, allocations: 57.94 kB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3182, allocations: 338.8 kB / 442.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.3185, allocations: 108.2 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.3188, allocations: 204.5 kB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.3195, allocations: 303.5 kB / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.3195, allocations: 8 kB / 442.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001022/0.3205, allocations: 434.7 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.3206, allocations: 41.69 kB / 443.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3206, allocations: 4 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.3209, allocations: 52.81 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.3212, allocations: 71.88 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.323, allocations: 1.496 MB / 444.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.3233, allocations: 63.62 kB / 444.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.3233, allocations: 12 kB / 444.9 MB, free: 8.496 MB / 350.1 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,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.3235, allocations: 157.2 kB / 445 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3236, allocations: 23.86 kB / 445 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.3236, allocations: 38.08 kB / 445.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3236, allocations: 7.938 kB / 445.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3236, allocations: 0 / 445.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3236, allocations: 0 / 445.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.325, allocations: 0.7201 MB / 445.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.325, allocations: 4 kB / 445.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3252, allocations: 43.95 kB / 445.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.3255, allocations: 56.94 kB / 445.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3255, allocations: 11.92 kB / 445.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.3271, allocations: 1.497 MB / 447.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.3271, allocations: 8.094 kB / 447.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3282, allocations: 0.5006 MB / 447.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.3283, allocations: 35.77 kB / 448 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.3283, allocations: 8 kB / 448 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.3286, allocations: 27.97 kB / 448 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.3287, allocations: 27.95 kB / 448 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3287, allocations: 8.062 kB / 448 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3289, allocations: 211.1 kB / 448.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 448.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.3293, allocations: 91.83 kB / 448.3 MB, free: 4.832 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: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.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 (18): * Single equations (assignments): 15 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.3307, allocations: 1.04 MB / 449.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009114/0.3317, allocations: 421.8 kB / 449.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3317, allocations: 4 kB / 449.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.3321, allocations: 243.2 kB / 450 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3325, allocations: 60.11 kB / 450.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/0.3383, allocations: 3.35 MB / 453.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3387, allocations: 0.7678 MB / 454.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.3389, allocations: 34.95 kB / 454.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.339, allocations: 99.41 kB / 454.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.339, allocations: 0 / 454.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.3827, allocations: 7.781 MB / 462.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.82, allocations: 8.719 kB / 462.1 MB, free: 6.93 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/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: 15.250667976913974]