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.001291/0.001291, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001462/0.001462, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.483/1.483, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.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.2501/0.2501, allocations: 46.93 MB / 361.5 MB, free: 4.188 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.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.002546/0.002546, allocations: 79.86 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3879, allocations: 66.08 MB / 0.5619 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002573/0.3905, allocations: 0.8317 MB / 0.5628 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.3908, allocations: 39.89 kB / 0.5628 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.3908, allocations: 3.938 kB / 0.5628 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.391, allocations: 7.922 kB / 0.5628 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.884e-05/0.391, allocations: 3.938 kB / 0.5628 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.3911, allocations: 27.97 kB / 0.5628 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3913, allocations: 39.86 kB / 0.5629 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3914, allocations: 19.64 kB / 0.5629 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.3914, allocations: 11.94 kB / 0.5629 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.3915, allocations: 15.92 kB / 0.5629 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3915, allocations: 4 kB / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.3915, allocations: 4 kB / 0.5629 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.3915, allocations: 4 kB / 0.5629 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.3916, allocations: 23.84 kB / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3917, allocations: 31.84 kB / 0.563 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3917, allocations: 4 kB / 0.563 GB, free: 3.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3917, allocations: 0 / 0.563 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3917, allocations: 0 / 0.563 GB, free: 3.156 MB / 398.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.0005177/0.3922, allocations: 281.8 kB / 0.5633 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3923, allocations: 12.03 kB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3923, allocations: 4.891 kB / 0.5633 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3925, allocations: 126.5 kB / 0.5634 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.3925, allocations: 4.375 kB / 0.5634 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3926, allocations: 8.312 kB / 0.5634 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3927, allocations: 50.25 kB / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3927, allocations: 192 / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3927, allocations: 3.938 kB / 0.5635 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3927, allocations: 4 kB / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.3928, allocations: 15.98 kB / 0.5635 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.3933, allocations: 259.8 kB / 0.5637 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.3934, allocations: 30.56 kB / 0.5638 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.3934, allocations: 8.922 kB / 0.5638 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.3934, allocations: 0 / 0.5638 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.045e-05/0.3935, allocations: 59.3 kB / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3935, allocations: 0 / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.3936, allocations: 49.69 kB / 0.5639 GB, free: 2.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3937, allocations: 51.41 kB / 0.5639 GB, free: 2.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3938, allocations: 121.8 kB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3938, allocations: 25.7 kB / 0.5641 GB, free: 1.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.3939, allocations: 88.09 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3939, allocations: 16 kB / 0.5642 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3939, allocations: 17.72 kB / 0.5642 GB, free: 1.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3941, allocations: 314.8 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.3941, allocations: 15.98 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.3941, allocations: 21.84 kB / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.3942, allocations: 33.73 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3942, allocations: 0 / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.197e-05/0.3943, allocations: 53.62 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3943, allocations: 4 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3943, allocations: 0 / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3943, allocations: 4 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.028e-05/0.3943, allocations: 4 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3943, allocations: 8.016 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.3944, allocations: 7.938 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3944, allocations: 7.938 kB / 0.5646 GB, free: 1.277 MB / 398.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 9.877e-05/0.3945, allocations: 111.5 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.3945, allocations: 4 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.3945, allocations: 8 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3945, allocations: 0 / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3945, allocations: 7.938 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3945, allocations: 0 / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3948, allocations: 277.5 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3948, allocations: 0 / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.3948, allocations: 4 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3948, allocations: 0 / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3948, allocations: 0 / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3949, allocations: 3.938 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3949, allocations: 0 / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.395, allocations: 155.5 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.395, allocations: 8.016 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.395, allocations: 0 / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.3951, allocations: 11.94 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3951, allocations: 0 / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3951, allocations: 0 / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.063e-05/0.3952, allocations: 91.27 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3952, allocations: 0 / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.3954, allocations: 8 kB / 0.5653 GB, free: 0.5195 MB / 398.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 0.0001029/0.3955, allocations: 99.23 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.3956, allocations: 19.94 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3956, allocations: 0 / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.3956, allocations: 8 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3959, allocations: 14.28 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3962, allocations: 167.2 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3966, allocations: 0.6846 MB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3967, allocations: 15.5 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3967, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Templates: time 0.002395/0.3991, allocations: 0.7268 MB / 0.567 GB, free: 14.73 MB / 414.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 -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: 7.446346253156662]