Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.001045/0.001045, allocations: 85.84 kB / 21.44 MB, free: 3.062 MB / 18.57 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.001206/0.001206, allocations: 166 kB / 24.84 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1731/0.1731, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 348.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.834e-05, allocations: 12.22 kB / 348.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007193/0.007221, allocations: 5.471 MB / 354.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005371/0.01259, allocations: 2.244 MB / 356.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.01439, allocations: 59.5 kB / 356.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.01504, allocations: 230 kB / 356.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.01586, allocations: 206 kB / 357.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.0174, allocations: 474.6 kB / 357.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.01903, allocations: 1.133 MB / 358.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/0.01992, allocations: 398 kB / 359.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.02097, allocations: 0.5575 MB / 359.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005892/0.02156, allocations: 295.1 kB / 359.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.02176, allocations: 96 kB / 360 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.0221, allocations: 159.8 kB / 360.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.02233, allocations: 219.2 kB / 360.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.02285, allocations: 311.2 kB / 360.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02407, allocations: 0.7431 MB / 361.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.02408, allocations: 0 / 361.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02408, allocations: 0 / 361.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.1e-05/0.02411, allocations: 0 / 361.4 MB, free: 12.59 MB / 298.7 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.001695/0.02581, allocations: 1.189 MB / 362.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.02585, allocations: 12.03 kB / 362.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.02611, allocations: 180.3 kB / 362.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.02703, allocations: 0.5486 MB / 363.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.02709, allocations: 70.12 kB / 363.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.02723, allocations: 95.95 kB / 363.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.02844, allocations: 0.6973 MB / 364.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/0.02849, allocations: 19.86 kB / 364.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.02857, allocations: 44 kB / 364.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.0286, allocations: 24 kB / 364.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.02925, allocations: 257.5 kB / 364.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.03368, allocations: 3.958 MB / 368.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.03427, allocations: 160.4 kB / 368.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.03438, allocations: 63.58 kB / 368.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.03449, allocations: 16 kB / 368.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.03453, allocations: 41.38 kB / 368.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 4.388e-06/0.03453, allocations: 0 / 368.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002417/0.03695, allocations: 0.8494 MB / 369.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.037, allocations: 59.41 kB / 369.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.03749, allocations: 438.2 kB / 370.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.03753, allocations: 37.69 kB / 370.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.03794, allocations: 0.5138 MB / 370.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.03808, allocations: 138.8 kB / 370.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.03826, allocations: 107.9 kB / 370.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.001151/0.03941, allocations: 0.5467 MB / 371.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.03956, allocations: 49.27 kB / 371.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.04, allocations: 322.3 kB / 371.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.04054, allocations: 419.6 kB / 372.2 MB, free: 1.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.04055, allocations: 4 kB / 372.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008334/0.04138, allocations: 420.4 kB / 372.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.04141, allocations: 8 kB / 372.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.04143, allocations: 8 kB / 372.7 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.04171, allocations: 39.59 kB / 372.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.04211, allocations: 119.8 kB / 372.8 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006111/0.04272, allocations: 0.8155 MB / 373.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.04304, allocations: 23.98 kB / 373.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.04309, allocations: 20.31 kB / 373.7 MB, free: 15.6 MB / 314.7 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.0002997/0.04339, allocations: 188.4 kB / 373.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.04349, allocations: 63.67 kB / 373.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.04464, allocations: 253.7 kB / 374.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.04465, allocations: 7.938 kB / 374.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.04466, allocations: 0 / 374.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.04467, allocations: 0 / 374.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.04613, allocations: 0.7695 MB / 374.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.04614, allocations: 4 kB / 375 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.04652, allocations: 75.89 kB / 375 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.04675, allocations: 27.67 kB / 375.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.04679, allocations: 12 kB / 375.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000568/0.04736, allocations: 0.804 MB / 375.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.04737, allocations: 7.938 kB / 375.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.04804, allocations: 0.4958 MB / 376.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.04811, allocations: 43.66 kB / 376.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.04816, allocations: 11.94 kB / 376.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.04832, allocations: 8 kB / 376.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.04839, allocations: 27.95 kB / 376.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.04841, allocations: 8 kB / 376.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.04865, allocations: 267 kB / 376.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.04865, allocations: 3.938 kB / 376.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006811/0.04933, allocations: 127.9 kB / 376.9 MB, free: 12.25 MB / 314.7 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.0002245/0.04955, allocations: 119.2 kB / 377 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.0501, allocations: 237.5 kB / 377.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.0501, allocations: 0.5 kB / 377.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.05034, allocations: 111.4 kB / 377.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.05092, allocations: 79.92 kB / 377.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.05421, allocations: 1.445 MB / 378.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.05433, allocations: 161.7 kB / 379 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.05446, allocations: 56.55 kB / 379.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.05461, allocations: 158.2 kB / 379.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.05462, allocations: 0 / 379.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of Templates: time 0.008982/0.0636, allocations: 4.403 MB / 383.6 MB, free: 5.453 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.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: 3.32207771576941]