Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.001339/0.001339, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001496/0.001496, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.44/1.44, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 34.26 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 83.88 kB / 443.1 MB, free: 6.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3116, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002392/0.314, allocations: 1.633 MB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.3148, allocations: 0.5535 MB / 0.4994 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.3149, allocations: 6.969 kB / 0.4994 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.315, allocations: 15.39 kB / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.3151, allocations: 7.875 kB / 0.4994 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.3153, allocations: 99.58 kB / 0.4995 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3155, allocations: 106.4 kB / 0.4996 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3156, allocations: 24.97 kB / 0.4996 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.3156, allocations: 46.81 kB / 0.4997 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.3157, allocations: 40.03 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.3157, allocations: 9.5 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.3157, allocations: 6.562 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.3158, allocations: 18.31 kB / 0.4998 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.3158, allocations: 37.05 kB / 0.4998 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3159, allocations: 90.14 kB / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3159, allocations: 4 kB / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3159, allocations: 0 / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3159, allocations: 3.062 kB / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005268/0.3165, allocations: 348.8 kB / 0.5002 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.3165, allocations: 12.28 kB / 0.5002 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3165, allocations: 8.203 kB / 0.5002 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3167, allocations: 144.8 kB / 0.5004 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3167, allocations: 10.92 kB / 0.5004 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3167, allocations: 6.781 kB / 0.5004 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.317, allocations: 102.3 kB / 0.5005 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.317, allocations: 3.422 kB / 0.5005 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.317, allocations: 7.938 kB / 0.5005 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.317, allocations: 3.062 kB / 0.5005 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3172, allocations: 51.03 kB / 0.5006 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.3177, allocations: 312.8 kB / 0.5009 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.318, allocations: 101.8 kB / 0.5009 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3181, allocations: 28.89 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3181, allocations: 6.797 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.3183, allocations: 105.9 kB / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3183, allocations: 0 / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.3187, allocations: 142.9 kB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.3187, allocations: 51.41 kB / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.3188, allocations: 149.2 kB / 0.5014 GB, free: 26.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3188, allocations: 25.7 kB / 0.5014 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.3189, allocations: 101.8 kB / 0.5015 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3189, allocations: 23.03 kB / 0.5016 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3189, allocations: 27.17 kB / 0.5016 GB, free: 26.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.319, allocations: 321.4 kB / 0.5019 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3191, allocations: 32.64 kB / 0.5019 GB, free: 26.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3192, allocations: 54.98 kB / 0.502 GB, free: 26.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3194, allocations: 73.7 kB / 0.502 GB, free: 26.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3194, allocations: 0 / 0.502 GB, free: 26.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002711/0.3196, allocations: 121.8 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3196, allocations: 6.5 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3196, allocations: 0 / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3197, allocations: 0 / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.3198, allocations: 19.61 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3198, allocations: 3.938 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.3199, allocations: 25.05 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3199, allocations: 3.281 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.945e-05/0.3199, allocations: 116.2 kB / 0.5023 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.3199, allocations: 11.05 kB / 0.5023 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.32, allocations: 15.5 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.32, allocations: 0 / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.32, allocations: 7.922 kB / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.32, allocations: 0 / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3204, allocations: 336.2 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3204, allocations: 0 / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.3204, allocations: 13.06 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3204, allocations: 0 / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3204, allocations: 3.938 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3204, allocations: 2.906 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3204, allocations: 0 / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3208, allocations: 249.2 kB / 0.5029 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.3208, allocations: 14.61 kB / 0.5029 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3209, allocations: 7 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.321, allocations: 16.88 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.321, allocations: 17.31 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3211, allocations: 3.516 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.3211, allocations: 102.5 kB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3211, allocations: 0 / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3213, allocations: 19.44 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.559e-05/0.3214, allocations: 90.88 kB / 0.5032 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.3217, allocations: 89.47 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3217, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3218, allocations: 39.8 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.3221, allocations: 21.52 kB / 0.5033 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.3229, allocations: 275 kB / 0.5036 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.323, allocations: 82.75 kB / 0.5037 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.323, allocations: 13.97 kB / 0.5037 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.323, allocations: 11.5 kB / 0.5037 GB, free: 25.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.323, allocations: 0 / 0.5037 GB, free: 25.21 MB / 446.1 MB Notification: Performance of Templates: time 0.003794/0.3268, allocations: 1.241 MB / 0.5049 GB, free: 25.06 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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: 5.007713393075392]