Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.001458/0.001458, allocations: 77.62 kB / 21.25 MB, free: 0.5469 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.001515/0.001515, allocations: 158.8 kB / 24.5 MB, free: 3.719 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.486/1.486, allocations: 177.1 MB / 204.7 MB, free: 8.957 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.2085/0.2085, allocations: 34.25 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 84.16 kB / 443.1 MB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3685, allocations: 66.05 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002583/0.3711, allocations: 0.8277 MB / 0.4981 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.3714, allocations: 44.91 kB / 0.4981 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.3715, allocations: 0 / 0.4981 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.3716, allocations: 10.81 kB / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.294e-05/0.3716, allocations: 0 / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.3718, allocations: 26.06 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3719, allocations: 36.03 kB / 0.4982 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3721, allocations: 17.41 kB / 0.4982 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.3721, allocations: 17.34 kB / 0.4982 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.3722, allocations: 3.938 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3722, allocations: 6.125 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.3722, allocations: 0 / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.3722, allocations: 10.42 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.3722, allocations: 14.91 kB / 0.4982 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.3724, allocations: 39.48 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3724, allocations: 4 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3724, allocations: 0 / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3724, allocations: 0 / 0.4983 GB, free: 29.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004691/0.3729, allocations: 286.7 kB / 0.4985 GB, free: 28.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3729, allocations: 9.25 kB / 0.4986 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.3729, allocations: 8.047 kB / 0.4986 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3732, allocations: 119.9 kB / 0.4987 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3732, allocations: 3.344 kB / 0.4987 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.3732, allocations: 7.406 kB / 0.4987 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3733, allocations: 57.38 kB / 0.4987 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3733, allocations: 4.125 kB / 0.4987 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3734, allocations: 7.938 kB / 0.4988 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3734, allocations: 0 / 0.4988 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.3734, allocations: 16.98 kB / 0.4988 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3739, allocations: 224.8 kB / 0.499 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.374, allocations: 24.95 kB / 0.499 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.374, allocations: 15.56 kB / 0.499 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.374, allocations: 0 / 0.499 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/0.3741, allocations: 49.14 kB / 0.4991 GB, free: 28.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.3741, allocations: 4 kB / 0.4991 GB, free: 28.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001754/0.3743, allocations: 53.69 kB / 0.4991 GB, free: 28.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3743, allocations: 54.53 kB / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.3744, allocations: 103.6 kB / 0.4993 GB, free: 28.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.3744, allocations: 36.83 kB / 0.4993 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.3744, allocations: 91.59 kB / 0.4994 GB, free: 28.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3745, allocations: 10.95 kB / 0.4994 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3745, allocations: 12.94 kB / 0.4994 GB, free: 28.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.3746, allocations: 322.2 kB / 0.4997 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.3746, allocations: 6.625 kB / 0.4997 GB, free: 27.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.3746, allocations: 21 kB / 0.4998 GB, free: 27.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.3747, allocations: 26.97 kB / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3747, allocations: 0 / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.982e-05/0.3748, allocations: 52.69 kB / 0.4998 GB, free: 27.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3748, allocations: 6.219 kB / 0.4998 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3748, allocations: 0 / 0.4998 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3748, allocations: 3.516 kB / 0.4998 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.3748, allocations: 6.938 kB / 0.4998 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3749, allocations: 3.062 kB / 0.4999 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.3749, allocations: 4.031 kB / 0.4999 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3749, allocations: 3.125 kB / 0.4999 GB, free: 27.62 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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.034e-05/0.375, allocations: 120.9 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.375, allocations: 3.953 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.375, allocations: 10.66 kB / 0.5 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.375, allocations: 0 / 0.5 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.375, allocations: 0 / 0.5 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.375, allocations: 0 / 0.5 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3753, allocations: 251.1 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3753, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.3753, allocations: 3.312 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3753, allocations: 4.375 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3753, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3753, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3753, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.3754, allocations: 161.5 kB / 0.5004 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.3755, allocations: 0 / 0.5004 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3755, allocations: 7.156 kB / 0.5004 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.3756, allocations: 0 / 0.5004 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3756, allocations: 7.406 kB / 0.5004 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3756, allocations: 7.219 kB / 0.5004 GB, free: 27.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.532e-05/0.3756, allocations: 90.95 kB / 0.5005 GB, free: 26.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3756, allocations: 7.125 kB / 0.5005 GB, free: 26.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.376, allocations: 7.062 kB / 0.5005 GB, free: 26.98 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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 7.875e-05/0.3761, allocations: 92.44 kB / 0.5006 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.3762, allocations: 17.16 kB / 0.5006 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3762, allocations: 3.938 kB / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.3763, allocations: 10.75 kB / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3767, allocations: 16.53 kB / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.377, allocations: 131.2 kB / 0.5008 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.779e-05/0.3771, allocations: 76.02 kB / 0.5008 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.261e-05/0.3771, allocations: 3.281 kB / 0.5008 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.3771, allocations: 15.75 kB / 0.5009 GB, free: 26.66 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3771, allocations: 0 / 0.5009 GB, free: 26.66 MB / 446.1 MB Notification: Performance of Templates: time 0.004236/0.3814, allocations: 486.1 kB / 0.5013 GB, free: 26.58 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.995188988046721]