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.001316/0.001316, allocations: 85.8 kB / 21.43 MB, free: 3.043 MB / 18.57 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.001634/0.001634, allocations: 164.2 kB / 24.82 MB, free: 9.227 MB / 18.57 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 0.9491/0.9491, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2548/0.2548, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 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 1.553e-06/1.553e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.363e-05, allocations: 8.844 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001467/0.001491, allocations: 0.8181 MB / 380 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000181/0.001672, allocations: 47.81 kB / 380.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.001736, allocations: 4 kB / 380.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.001849, allocations: 7.938 kB / 380.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.58e-05/0.001865, allocations: 3.938 kB / 380.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.956e-05/0.001955, allocations: 19.92 kB / 380.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.002029, allocations: 31.92 kB / 380.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.002107, allocations: 19.97 kB / 380.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.002146, allocations: 11.98 kB / 380.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.002183, allocations: 11.92 kB / 380.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.002198, allocations: 4 kB / 380.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.002205, allocations: 0 / 380.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.002222, allocations: 11.98 kB / 380.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.00224, allocations: 11.94 kB / 380.2 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.002318, allocations: 35.83 kB / 380.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00232, allocations: 4 kB / 380.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002321, allocations: 0 / 380.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.002324, allocations: 0 / 380.3 MB, free: 0.7969 MB / 346.7 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.0002878/0.002611, allocations: 388.1 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.002643, allocations: 8.031 kB / 380.7 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.002664, allocations: 4.938 kB / 380.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.002769, allocations: 132.6 kB / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.002779, allocations: 384 / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.002792, allocations: 8.375 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.056e-05/0.002853, allocations: 42.25 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-06/0.002858, allocations: 192 / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-06/0.002863, allocations: 384 / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.002867, allocations: 384 / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.002885, allocations: 19.86 kB / 380.9 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.003161, allocations: 264.3 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.003196, allocations: 31.06 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.026e-05/0.003206, allocations: 15.69 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.003213, allocations: 4 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.003264, allocations: 53 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.003265, allocations: 4 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 8.37e-05/0.003349, allocations: 41.69 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.003372, allocations: 59.34 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.003439, allocations: 169.9 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.003449, allocations: 25.7 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.00349, allocations: 130.9 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.003505, allocations: 15.94 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.003526, allocations: 19.38 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.00363, allocations: 496.1 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.003637, allocations: 8 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.003654, allocations: 23.36 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.003681, allocations: 23.66 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.003682, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.427e-05/0.003737, allocations: 61.5 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.003747, allocations: 4 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00375, allocations: 3.938 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.003759, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.509e-05/0.003784, allocations: 8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.003787, allocations: 4.031 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.003804, allocations: 4 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-06/0.003807, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 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 6.027e-05/0.003867, allocations: 164.5 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.003875, allocations: 7.891 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.003894, allocations: 12 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003896, allocations: 0 / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.003897, allocations: 0 / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.0039, allocations: 0 / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.004068, allocations: 278 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.00407, allocations: 4 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.004085, allocations: 7.922 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.004089, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.004096, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004098, allocations: 4 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004099, allocations: 0 / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.28e-05/0.004192, allocations: 199.9 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.004197, allocations: 3.953 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.004204, allocations: 0 / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.004231, allocations: 4 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.00425, allocations: 3.984 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.004252, allocations: 4.031 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.961e-05/0.004282, allocations: 123.2 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004282, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.004415, allocations: 12 kB / 383.1 MB, free: 13.67 MB / 362.7 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 6.775e-05/0.004482, allocations: 95.17 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.69e-05/0.004529, allocations: 19.69 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004531, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.004545, allocations: 15.67 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.00471, allocations: 11.94 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.004898, allocations: 150 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.004927, allocations: 55.36 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.567e-05/0.004942, allocations: 7.891 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.004979, allocations: 78.14 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.004979, allocations: 0 / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of Templates: time 0.001825/0.006804, allocations: 0.5502 MB / 384.1 MB, free: 12.63 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8149613849818707]