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.001915/0.001915, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001955/0.001955, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3527/0.3527, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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 2.014e-06/2.014e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.516e-05, allocations: 2.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008916/0.008951, allocations: 5.545 MB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.01384, allocations: 2.29 MB / 385.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007777/0.01462, allocations: 55.5 kB / 385.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.01519, allocations: 230 kB / 385.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.01568, allocations: 198.1 kB / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.01687, allocations: 474.7 kB / 386 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.01828, allocations: 1.137 MB / 387.2 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.019, allocations: 394 kB / 387.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008685/0.01987, allocations: 0.5692 MB / 388.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.02032, allocations: 287.1 kB / 388.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.02047, allocations: 96 kB / 388.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.02077, allocations: 159.8 kB / 388.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.02103, allocations: 223.2 kB / 388.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.0214, allocations: 307.2 kB / 389.2 MB, free: 7.016 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.02316, allocations: 1.293 MB / 390.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.02316, allocations: 3.938 kB / 390.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02316, allocations: 0 / 390.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.02318, allocations: 0 / 390.5 MB, free: 5.715 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.001984/0.02516, allocations: 1.255 MB / 391.7 MB, free: 4.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.0252, allocations: 8.031 kB / 391.7 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.0256, allocations: 192.3 kB / 391.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.02662, allocations: 0.5602 MB / 392.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.02669, allocations: 74.06 kB / 392.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.02683, allocations: 92 kB / 392.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.02859, allocations: 0.9429 MB / 393.6 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.02863, allocations: 15.89 kB / 393.6 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.02871, allocations: 36 kB / 393.6 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.02874, allocations: 27.98 kB / 393.7 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.02978, allocations: 467.5 kB / 394.1 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.03519, allocations: 4.427 MB / 398.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.03591, allocations: 236.2 kB / 398.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.0361, allocations: 92.16 kB / 398.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.03623, allocations: 19.98 kB / 398.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.03628, allocations: 45.31 kB / 398.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.455e-06/0.03628, allocations: 0 / 398.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002689/0.03897, allocations: 1.174 MB / 400.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.03902, allocations: 59.39 kB / 400.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.03973, allocations: 0.5415 MB / 400.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.03977, allocations: 33.64 kB / 400.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/0.04026, allocations: 0.5451 MB / 401.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.04041, allocations: 150.8 kB / 401.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.04059, allocations: 120 kB / 401.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003657/0.04095, allocations: 0.5664 MB / 402.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.04118, allocations: 105.3 kB / 402.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.04166, allocations: 394.4 kB / 402.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.04244, allocations: 0.5455 MB / 403.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.04245, allocations: 8 kB / 403.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009688/0.04342, allocations: 0.5357 MB / 403.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.04344, allocations: 8 kB / 403.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.04346, allocations: 4 kB / 403.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.04372, allocations: 43.67 kB / 403.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.04428, allocations: 123.8 kB / 403.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006713/0.04495, allocations: 0.835 MB / 404.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.04518, allocations: 16.38 kB / 404.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.04523, allocations: 32 kB / 404.7 MB, free: 6.684 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.0004027/0.04564, allocations: 256.4 kB / 405 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.04576, allocations: 67.61 kB / 405.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.04646, allocations: 322 kB / 405.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.04647, allocations: 4 kB / 405.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.04647, allocations: 0 / 405.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.04648, allocations: 3.984 kB / 405.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.04833, allocations: 1.133 MB / 406.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.04834, allocations: 4 kB / 406.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.04873, allocations: 75.91 kB / 406.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.04888, allocations: 31.67 kB / 406.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.04892, allocations: 19.98 kB / 406.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005897/0.04951, allocations: 0.8195 MB / 407.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.04951, allocations: 8.172 kB / 407.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.05048, allocations: 0.6359 MB / 408.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.05059, allocations: 39.66 kB / 408.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.05064, allocations: 8 kB / 408.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.05079, allocations: 8 kB / 408.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.05087, allocations: 31.89 kB / 408.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.0509, allocations: 15.94 kB / 408.2 MB, free: 3.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004032/0.0513, allocations: 339 kB / 408.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05131, allocations: 0 / 408.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006534/0.05196, allocations: 128 kB / 408.7 MB, free: 2.59 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.0002273/0.05219, allocations: 118.1 kB / 408.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007737/0.05296, allocations: 362.2 kB / 409.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.05296, allocations: 0 / 409.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.05326, allocations: 152 kB / 409.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.05384, allocations: 86.95 kB / 409.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.05657, allocations: 1.499 MB / 410.9 MB, free: 320 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.05715, allocations: 364.2 kB / 411.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.05734, allocations: 60.53 kB / 411.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.05744, allocations: 36.5 kB / 411.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.05744, allocations: 0 / 411.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of Templates: time 0.01121/0.06865, allocations: 3.945 MB / 415.3 MB, free: 11.96 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.15433790103998]