Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 258.2 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 46.95 MB / 361.6 MB, free: 4.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.84 kB / 0.4974 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2981, allocations: 66.03 MB / 0.5619 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003159/0.3013, allocations: 1.655 MB / 0.5635 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3024, allocations: 0.597 MB / 0.5641 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.3025, allocations: 7.938 kB / 0.5641 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3027, allocations: 11.86 kB / 0.5641 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.3027, allocations: 7.875 kB / 0.5641 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.3031, allocations: 99.25 kB / 0.5642 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.3033, allocations: 111.7 kB / 0.5643 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3034, allocations: 35.61 kB / 0.5643 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.3035, allocations: 51.84 kB / 0.5644 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.3036, allocations: 35.84 kB / 0.5644 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3036, allocations: 8 kB / 0.5644 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.3036, allocations: 8 kB / 0.5644 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.3036, allocations: 27.84 kB / 0.5644 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.3037, allocations: 43.73 kB / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.3038, allocations: 82.38 kB / 0.5646 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3038, allocations: 0 / 0.5646 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3038, allocations: 0 / 0.5646 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3039, allocations: 0 / 0.5646 GB, free: 1.684 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006302/0.3045, allocations: 354.8 kB / 0.5649 GB, free: 1.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3045, allocations: 8.031 kB / 0.5649 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3046, allocations: 12.89 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3048, allocations: 146.3 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3048, allocations: 16.31 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3049, allocations: 8.375 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.3051, allocations: 109.9 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3051, allocations: 0 / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3051, allocations: 0 / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3052, allocations: 4 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3053, allocations: 51.95 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.306, allocations: 359.6 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.3063, allocations: 106.5 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3064, allocations: 28.92 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3065, allocations: 4 kB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.3067, allocations: 99.34 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3067, allocations: 0 / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004552/0.3072, allocations: 145.5 kB / 0.566 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3072, allocations: 59.34 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3074, allocations: 147.5 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3074, allocations: 25.7 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.3075, allocations: 108 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.3075, allocations: 19.86 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.3075, allocations: 25.7 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3077, allocations: 326.8 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3078, allocations: 31.98 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3079, allocations: 49.69 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3082, allocations: 81.61 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3082, allocations: 0 / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002891/0.3085, allocations: 121.7 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3085, allocations: 14.47 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3085, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3085, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3086, allocations: 15.98 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3086, allocations: 4 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.3087, allocations: 16.06 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3087, allocations: 8 kB / 0.567 GB, free: 15.03 MB / 414.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 0.0001093/0.3088, allocations: 128.8 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.3088, allocations: 15.84 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3089, allocations: 16.7 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3089, allocations: 3.984 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3089, allocations: 0 / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3089, allocations: 0 / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.3094, allocations: 361.5 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3094, allocations: 3.938 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.3095, allocations: 15.98 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3095, allocations: 4 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3095, allocations: 0 / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3095, allocations: 0 / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3095, allocations: 4 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.31, allocations: 255.7 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.31, allocations: 11.89 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.31, allocations: 4.031 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3102, allocations: 27.98 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.3102, allocations: 11.97 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3102, allocations: 0 / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.3103, allocations: 121.8 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3103, allocations: 0 / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.3106, allocations: 12 kB / 0.5679 GB, free: 13.98 MB / 414.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 9.204e-05/0.3107, allocations: 95.25 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.311, allocations: 83.89 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.311, allocations: 3.938 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3111, allocations: 43.97 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3114, allocations: 16.33 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.3123, allocations: 300.1 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3127, allocations: 0.6963 MB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.3127, allocations: 15.44 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3127, allocations: 0 / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of Templates: time 0.003167/0.3159, allocations: 1.337 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 7.070912501076236]