Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.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.001751/0.001751, allocations: 116 kB / 21.18 MB, free: 0.6289 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.002072/0.002072, allocations: 213.7 kB / 24.48 MB, free: 4.035 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.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2198/0.2198, allocations: 46.89 MB / 361.1 MB, free: 4.648 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-beta.om/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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 79.88 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2969, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005726/0.3026, allocations: 4.388 MB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.3057, allocations: 1.593 MB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.3062, allocations: 31.88 kB / 0.5671 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.3066, allocations: 162.2 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.307, allocations: 170.3 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3083, allocations: 0.6109 MB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3095, allocations: 1.019 MB / 0.569 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.31, allocations: 313.9 kB / 0.5693 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.3104, allocations: 374.2 kB / 0.5696 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.3108, allocations: 389.7 kB / 0.57 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.3109, allocations: 84 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.311, allocations: 88 kB / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3112, allocations: 195.2 kB / 0.5704 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.3116, allocations: 437.2 kB / 0.5708 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3126, allocations: 1.026 MB / 0.5718 GB, free: 10.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3126, allocations: 0 / 0.5718 GB, free: 10.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3126, allocations: 3.938 kB / 0.5718 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3126, allocations: 3.938 kB / 0.5718 GB, free: 10.11 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002083/0.3147, allocations: 1.33 MB / 0.5731 GB, free: 8.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3148, allocations: 8.031 kB / 0.5731 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3149, allocations: 120.2 kB / 0.5732 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3159, allocations: 0.668 MB / 0.5739 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.316, allocations: 45.69 kB / 0.5739 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3161, allocations: 64.38 kB / 0.574 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3174, allocations: 0.7698 MB / 0.5747 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3174, allocations: 3.938 kB / 0.5747 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-05/0.3175, allocations: 31.94 kB / 0.5748 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.3175, allocations: 16 kB / 0.5748 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3187, allocations: 0.5468 MB / 0.5753 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.3221, allocations: 2.718 MB / 0.578 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.3235, allocations: 0.6397 MB / 0.5786 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.324, allocations: 279.4 kB / 0.5788 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3241, allocations: 7.938 kB / 0.5789 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.3241, allocations: 42.56 kB / 0.5789 GB, free: 2.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.3241, allocations: 0 / 0.5789 GB, free: 2.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.001824/0.3259, allocations: 0.8007 MB / 0.5797 GB, free: 1.711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.3261, allocations: 346.1 kB / 0.58 GB, free: 1.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.3269, allocations: 0.7006 MB / 0.5807 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.327, allocations: 41.7 kB / 0.5807 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.3273, allocations: 437 kB / 0.5811 GB, free: 104 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3275, allocations: 194.5 kB / 0.5813 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.3277, allocations: 110.2 kB / 0.5814 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3278, allocations: 329.7 kB / 0.5818 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.3283, allocations: 234.9 kB / 0.582 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.329, allocations: 391.5 kB / 0.5824 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3301, allocations: 0.5518 MB / 0.5829 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3301, allocations: 4 kB / 0.5829 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002808/0.3329, allocations: 1.033 MB / 0.5839 GB, free: 13.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3329, allocations: 8 kB / 0.5839 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3329, allocations: 4.281 kB / 0.5839 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.3341, allocations: 319.1 kB / 0.5842 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.3346, allocations: 127.9 kB / 0.5843 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/0.344, allocations: 7.283 MB / 0.5915 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.3446, allocations: 75.59 kB / 0.5915 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.3446, allocations: 23.98 kB / 0.5915 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006253/0.3452, allocations: 341.2 kB / 0.5919 GB, free: 4.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005316/0.3458, allocations: 362.9 kB / 0.5922 GB, free: 3.988 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000883/0.3467, allocations: 0.4967 MB / 0.5927 GB, free: 3.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.3467, allocations: 4 kB / 0.5927 GB, free: 3.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001581/0.3482, allocations: 0.7432 MB / 0.5934 GB, free: 2.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3482, allocations: 4 kB / 0.5934 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3483, allocations: 4 kB / 0.5934 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.3487, allocations: 145.8 kB / 0.5936 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.3495, allocations: 171.8 kB / 0.5937 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.3533, allocations: 3.439 MB / 0.5971 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.3538, allocations: 67.69 kB / 0.5972 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3538, allocations: 16 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.3541, allocations: 216.1 kB / 0.5974 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.3543, allocations: 107.4 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3545, allocations: 95.16 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3545, allocations: 7.984 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3545, allocations: 0 / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.3547, allocations: 216.3 kB / 0.5978 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/0.3548, allocations: 15.98 kB / 0.5978 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.3553, allocations: 39.97 kB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.3554, allocations: 31.95 kB / 0.5979 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001833/0.3572, allocations: 0.9317 MB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002058/0.3593, allocations: 1.31 MB / 0.6001 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005623/0.3599, allocations: 263.9 kB / 0.6003 GB, free: 11.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005877/0.3605, allocations: 490.9 kB / 0.6008 GB, free: 10.84 MB / 446.1 MB Notification: Performance of Backend: time 3.31e-07/0.3605, allocations: 0 / 0.6008 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004276/0.3647, allocations: 1.719 MB / 0.6025 GB, free: 9.035 MB / 446.1 MB Notification: Performance of SimCode: time 0.002876/0.3676, allocations: 1.985 MB / 0.6044 GB, free: 7.008 MB / 446.1 MB Notification: Performance of Templates: time 0.02671/0.3943, allocations: 15.83 MB / 0.6199 GB, free: 7.223 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.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.6710677719675004]