Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.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.006571/0.006571, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001536/0.001536, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.443/1.443, allocations: 230.5 MB / 258.9 MB, free: 8.031 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.2404/0.2404, allocations: 46.93 MB / 362.3 MB, free: 4.215 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.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs") [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.002329/0.002329, allocations: 75.88 kB / 0.4982 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3448, allocations: 66.07 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007737/0.3526, allocations: 5.839 MB / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3574, allocations: 2.376 MB / 0.5707 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008236/0.3583, allocations: 55.56 kB / 0.5708 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.3588, allocations: 226 kB / 0.571 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.3593, allocations: 190.2 kB / 0.5712 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3605, allocations: 494.6 kB / 0.5717 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3618, allocations: 1.122 MB / 0.5727 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006927/0.3625, allocations: 425.8 kB / 0.5732 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.363, allocations: 386.7 kB / 0.5735 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.3634, allocations: 398 kB / 0.5739 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.3635, allocations: 96 kB / 0.574 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.3638, allocations: 156 kB / 0.5741 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.364, allocations: 219.2 kB / 0.5744 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.3644, allocations: 477.6 kB / 0.5748 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3658, allocations: 1.279 MB / 0.5761 GB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3658, allocations: 4 kB / 0.5761 GB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3658, allocations: 0 / 0.5761 GB, free: 6.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3658, allocations: 0 / 0.5761 GB, free: 6.52 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001604/0.3675, allocations: 1.081 MB / 0.5771 GB, free: 5.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3675, allocations: 8.031 kB / 0.5771 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.3678, allocations: 120.2 kB / 0.5772 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.3687, allocations: 0.5264 MB / 0.5778 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.3687, allocations: 66 kB / 0.5778 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3689, allocations: 99.89 kB / 0.5779 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3704, allocations: 0.8892 MB / 0.5788 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.3704, allocations: 8 kB / 0.5788 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.3705, allocations: 39.98 kB / 0.5788 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.3705, allocations: 24 kB / 0.5788 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3716, allocations: 0.519 MB / 0.5794 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.3754, allocations: 3.512 MB / 0.5828 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.376, allocations: 206.6 kB / 0.583 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3761, allocations: 96.81 kB / 0.5831 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3762, allocations: 23.98 kB / 0.5831 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3763, allocations: 34.56 kB / 0.5831 GB, free: 14.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.3763, allocations: 0 / 0.5831 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002396/0.3787, allocations: 1.154 MB / 0.5843 GB, free: 13.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3787, allocations: 59.34 kB / 0.5843 GB, free: 13.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.3792, allocations: 405.8 kB / 0.5847 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3792, allocations: 33.64 kB / 0.5847 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.3795, allocations: 483.5 kB / 0.5852 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3796, allocations: 150.7 kB / 0.5853 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3798, allocations: 94.3 kB / 0.5854 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.38, allocations: 366.8 kB / 0.5858 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3802, allocations: 109.3 kB / 0.5859 GB, free: 12.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3805, allocations: 311 kB / 0.5862 GB, free: 11.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.3812, allocations: 459.6 kB / 0.5866 GB, free: 11.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3812, allocations: 4 kB / 0.5866 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008339/0.382, allocations: 0.5128 MB / 0.5871 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.382, allocations: 8 kB / 0.5871 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.382, allocations: 8 kB / 0.5871 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.3823, allocations: 37.59 kB / 0.5872 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3827, allocations: 127.8 kB / 0.5873 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004419/0.3831, allocations: 0.5601 MB / 0.5878 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3833, allocations: 20 kB / 0.5879 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.3833, allocations: 24 kB / 0.5879 GB, free: 9.785 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003273/0.3837, allocations: 233.6 kB / 0.5881 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.3837, allocations: 55.67 kB / 0.5882 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/0.3844, allocations: 331 kB / 0.5885 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3844, allocations: 7.938 kB / 0.5885 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3844, allocations: 3.938 kB / 0.5885 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3844, allocations: 0 / 0.5885 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.3859, allocations: 1.023 MB / 0.5895 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3859, allocations: 4 kB / 0.5895 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.3863, allocations: 79.89 kB / 0.5896 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.3864, allocations: 36.78 kB / 0.5896 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3865, allocations: 12 kB / 0.5896 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003717/0.3868, allocations: 0.5487 MB / 0.5901 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3868, allocations: 0 / 0.5901 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.3877, allocations: 0.5602 MB / 0.5907 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.3877, allocations: 39.77 kB / 0.5907 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.3878, allocations: 11.94 kB / 0.5907 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3879, allocations: 8 kB / 0.5908 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.388, allocations: 31.89 kB / 0.5908 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.388, allocations: 19.98 kB / 0.5908 GB, free: 6.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.3883, allocations: 267.2 kB / 0.5911 GB, free: 6.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3883, allocations: 0 / 0.5911 GB, free: 6.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005704/0.3889, allocations: 131.9 kB / 0.5912 GB, free: 6.258 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * 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: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.3891, allocations: 111.1 kB / 0.5913 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007998/0.3899, allocations: 317 kB / 0.5916 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3899, allocations: 0 / 0.5916 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.3901, allocations: 145.2 kB / 0.5917 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.3907, allocations: 80.98 kB / 0.5918 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3935, allocations: 1.688 MB / 0.5935 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.3943, allocations: 0.96 MB / 0.5944 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3944, allocations: 47.42 kB / 0.5944 GB, free: 2.84 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3944, allocations: 0 / 0.5944 GB, free: 2.84 MB / 430.1 MB Notification: Performance of Templates: time 0.01706/0.4115, allocations: 11.32 MB / 0.6055 GB, free: 7.523 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.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: 8.536650321213529]