Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001391/0.001391, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001748/0.001748, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.494/1.494, allocations: 230.3 MB / 258 MB, free: 8.23 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.23/0.23, allocations: 46.89 MB / 361.3 MB, free: 4.457 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 75.88 kB / 0.497 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3492, allocations: 66.04 MB / 0.5615 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004237/0.3535, allocations: 2.652 MB / 0.5641 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3548, allocations: 0.7361 MB / 0.5648 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.355, allocations: 7.938 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.3552, allocations: 47.52 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.3553, allocations: 91.2 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3557, allocations: 99.8 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.3561, allocations: 334.5 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.3563, allocations: 64.88 kB / 0.5654 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.3565, allocations: 147.4 kB / 0.5656 GB, free: 492 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3567, allocations: 131.4 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.3568, allocations: 28 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.3568, allocations: 28 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.3569, allocations: 55.78 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.357, allocations: 147.2 kB / 0.566 GB, free: 100 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.3575, allocations: 306.4 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3575, allocations: 0 / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3575, allocations: 0 / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3575, allocations: 0 / 0.5662 GB, free: 15.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009855/0.3585, allocations: 0.5323 MB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3585, allocations: 8.031 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.3588, allocations: 52.72 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.3592, allocations: 214 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3592, allocations: 16.88 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.3593, allocations: 32.33 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.3598, allocations: 273.4 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3598, allocations: 11.95 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3598, allocations: 8 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3599, allocations: 8 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.3603, allocations: 195.6 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.3621, allocations: 1.234 MB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.3626, allocations: 242.5 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.3628, allocations: 95.39 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3628, allocations: 4 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3629, allocations: 42.5 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.3629, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002545/0.3654, allocations: 1.205 MB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3655, allocations: 132.5 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3658, allocations: 229.1 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3658, allocations: 33.7 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.366, allocations: 176.5 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3661, allocations: 134.9 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.3662, allocations: 66.14 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3663, allocations: 342.8 kB / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3666, allocations: 96.81 kB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.3669, allocations: 241.4 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.3676, allocations: 364.8 kB / 0.572 GB, free: 9.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3676, allocations: 4 kB / 0.572 GB, free: 9.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007769/0.3683, allocations: 401.2 kB / 0.5724 GB, free: 8.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3684, allocations: 4 kB / 0.5724 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.3684, allocations: 4 kB / 0.5724 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3684, allocations: 8 kB / 0.5724 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.3688, allocations: 100.3 kB / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3688, allocations: 12.3 kB / 0.5725 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.369, allocations: 31.98 kB / 0.5726 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.369, allocations: 16.78 kB / 0.5726 GB, free: 8.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001703/0.3692, allocations: 149.7 kB / 0.5727 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3693, allocations: 39.69 kB / 0.5728 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.3694, allocations: 33.7 kB / 0.5728 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3694, allocations: 4 kB / 0.5728 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3694, allocations: 4 kB / 0.5728 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3694, allocations: 7.984 kB / 0.5728 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.3709, allocations: 0.946 MB / 0.5737 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3709, allocations: 4 kB / 0.5737 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.3713, allocations: 79.94 kB / 0.5738 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.3713, allocations: 4 kB / 0.5738 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3713, allocations: 15.94 kB / 0.5738 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3713, allocations: 0 / 0.5738 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.3713, allocations: 4 kB / 0.5738 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3724, allocations: 0.7347 MB / 0.5746 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3724, allocations: 31.8 kB / 0.5746 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3725, allocations: 12 kB / 0.5746 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3728, allocations: 19.98 kB / 0.5746 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.3728, allocations: 31.83 kB / 0.5746 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3729, allocations: 12 kB / 0.5747 GB, free: 6.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.373, allocations: 160.5 kB / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.373, allocations: 0 / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004659/0.3735, allocations: 68 kB / 0.5749 GB, free: 6.324 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001207/0.3736, allocations: 103.2 kB / 0.575 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.3742, allocations: 272.3 kB / 0.5752 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3742, allocations: 0 / 0.5752 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.3745, allocations: 127.7 kB / 0.5754 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.3751, allocations: 44.94 kB / 0.5754 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3765, allocations: 0.8809 MB / 0.5763 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.377, allocations: 0.772 MB / 0.577 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.3771, allocations: 34.95 kB / 0.577 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.3772, allocations: 23.44 kB / 0.5771 GB, free: 3.996 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3772, allocations: 0 / 0.5771 GB, free: 3.996 MB / 414.1 MB Notification: Performance of Templates: time 0.006837/0.384, allocations: 2.671 MB / 0.5797 GB, free: 1.344 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.205417862161994]