Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001031/0.001031, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001139/0.001139, allocations: 164.8 kB / 24.99 MB, free: 8.789 MB / 18.57 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.2463/0.2463, allocations: 34.25 MB / 296 MB, free: 0.7852 MB / 266.7 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.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_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_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 378 MB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.837e-05, allocations: 6.25 kB / 378 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005098/0.005116, allocations: 5.584 MB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.008557, allocations: 2.29 MB / 385.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.008971, allocations: 55.5 kB / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.009327, allocations: 234 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.00959, allocations: 198 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.01031, allocations: 478.7 kB / 386.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007076/0.01101, allocations: 1.134 MB / 387.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.01145, allocations: 390 kB / 388.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.01191, allocations: 0.5692 MB / 388.9 MB, free: 8.059 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.01217, allocations: 291.1 kB / 389.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/0.01225, allocations: 96 kB / 389.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.01242, allocations: 159.8 kB / 389.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01255, allocations: 227.2 kB / 389.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.01276, allocations: 303.3 kB / 389.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.0135, allocations: 0.7549 MB / 390.7 MB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.0135, allocations: 0 / 390.7 MB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0135, allocations: 0 / 390.7 MB, free: 6.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.01351, allocations: 0 / 390.7 MB, free: 6.246 MB / 362.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.001002/0.01451, allocations: 1.177 MB / 391.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.01455, allocations: 8.031 kB / 391.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.01478, allocations: 188.3 kB / 392.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.01534, allocations: 0.5641 MB / 392.6 MB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.01537, allocations: 70.12 kB / 392.7 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.01545, allocations: 96 kB / 392.8 MB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.01623, allocations: 0.7599 MB / 393.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.01625, allocations: 7.953 kB / 393.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.0163, allocations: 36 kB / 393.6 MB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.01631, allocations: 24 kB / 393.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.01677, allocations: 311.5 kB / 393.9 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.01914, allocations: 4.063 MB / 398 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.01948, allocations: 175.6 kB / 398.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.01956, allocations: 64.16 kB / 398.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/0.01964, allocations: 19.98 kB / 398.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.01967, allocations: 41.33 kB / 398.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.01967, allocations: 0 / 398.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001301/0.02097, allocations: 1.01 MB / 399.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.021, allocations: 55.41 kB / 399.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.02128, allocations: 442.5 kB / 399.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.0213, allocations: 29.7 kB / 399.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.0215, allocations: 0.5177 MB / 400.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.02157, allocations: 142.8 kB / 400.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.02165, allocations: 99.95 kB / 400.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.02179, allocations: 0.5352 MB / 401.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.02188, allocations: 61.27 kB / 401.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.02208, allocations: 342.4 kB / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.02241, allocations: 446.8 kB / 401.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02241, allocations: 0 / 401.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004351/0.02285, allocations: 448.1 kB / 402.4 MB, free: 9.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.02286, allocations: 8 kB / 402.4 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.02287, allocations: 8 kB / 402.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.023, allocations: 39.66 kB / 402.4 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.02322, allocations: 124.4 kB / 402.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003003/0.02352, allocations: 0.8233 MB / 403.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.02362, allocations: 19.98 kB / 403.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.02365, allocations: 24 kB / 403.4 MB, free: 8.777 MB / 378.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.0001376/0.02379, allocations: 200.3 kB / 403.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.02384, allocations: 59.67 kB / 403.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.02416, allocations: 273.9 kB / 403.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02416, allocations: 4 kB / 403.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02417, allocations: 4.031 kB / 403.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02417, allocations: 0 / 403.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.02509, allocations: 0.8793 MB / 404.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.0251, allocations: 4 kB / 404.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.0253, allocations: 75.91 kB / 404.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.508e-05/0.02537, allocations: 31.61 kB / 404.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.02539, allocations: 11.98 kB / 404.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002678/0.02566, allocations: 0.8079 MB / 405.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02566, allocations: 4 kB / 405.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.02608, allocations: 0.5188 MB / 406.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.02612, allocations: 43.61 kB / 406.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.02615, allocations: 15.98 kB / 406.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.02623, allocations: 8 kB / 406.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.02628, allocations: 23.89 kB / 406.4 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.02629, allocations: 16 kB / 406.4 MB, free: 5.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.02648, allocations: 283 kB / 406.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02648, allocations: 4.031 kB / 406.7 MB, free: 5.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.02679, allocations: 120 kB / 406.8 MB, free: 5.242 MB / 378.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.0001693/0.02696, allocations: 119.1 kB / 406.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.02735, allocations: 262.3 kB / 407.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02735, allocations: 0 / 407.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.02748, allocations: 116 kB / 407.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.02781, allocations: 77.94 kB / 407.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.02941, allocations: 1.452 MB / 408.8 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.02952, allocations: 157.7 kB / 408.9 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.02963, allocations: 64.52 kB / 409 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.02969, allocations: 36.5 kB / 409 MB, free: 2.883 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02969, allocations: 0 / 409 MB, free: 2.883 MB / 378.7 MB Notification: Performance of Templates: time 0.007161/0.03685, allocations: 3.957 MB / 413 MB, free: 15 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.1725353938527405]