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.00189/0.00189, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001804/0.001804, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 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.2328/0.2328, allocations: 46.96 MB / 361.6 MB, free: 4.152 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+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 0.002016/0.002016, allocations: 71.88 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007706/0.3621, allocations: 5.135 MB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004964/0.367, allocations: 2.255 MB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.368, allocations: 55.5 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.3685, allocations: 234 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.369, allocations: 178.3 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3702, allocations: 474.8 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.3713, allocations: 1.114 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.372, allocations: 433.8 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.3726, allocations: 386.6 kB / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.373, allocations: 394 kB / 0.5722 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.3732, allocations: 92 kB / 0.5722 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.3735, allocations: 159.9 kB / 0.5724 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.3737, allocations: 215.3 kB / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.374, allocations: 378.1 kB / 0.573 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.3755, allocations: 1.298 MB / 0.5742 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3755, allocations: 0 / 0.5742 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3755, allocations: 0 / 0.5742 GB, free: 7.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3755, allocations: 0 / 0.5742 GB, free: 7.402 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.001603/0.3771, allocations: 1.077 MB / 0.5753 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3771, allocations: 11.97 kB / 0.5753 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.3774, allocations: 120.2 kB / 0.5754 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3784, allocations: 0.5264 MB / 0.5759 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.3785, allocations: 66 kB / 0.576 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.3786, allocations: 99.95 kB / 0.5761 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.3801, allocations: 0.8853 MB / 0.5769 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.3801, allocations: 7.938 kB / 0.577 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/0.3802, allocations: 40 kB / 0.577 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.3802, allocations: 24 kB / 0.577 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3812, allocations: 0.5113 MB / 0.5775 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.385, allocations: 3.217 MB / 0.5807 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.3855, allocations: 206.1 kB / 0.5808 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3857, allocations: 92.81 kB / 0.5809 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3858, allocations: 23.98 kB / 0.581 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3859, allocations: 30.56 kB / 0.581 GB, free: 200 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.474e-06/0.3859, allocations: 3.938 kB / 0.581 GB, free: 196 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002467/0.3883, allocations: 1.151 MB / 0.5821 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3884, allocations: 55.41 kB / 0.5822 GB, free: 14.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.3889, allocations: 417.7 kB / 0.5826 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3889, allocations: 37.64 kB / 0.5826 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.3892, allocations: 479.5 kB / 0.5831 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3894, allocations: 146.8 kB / 0.5832 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3895, allocations: 102.2 kB / 0.5833 GB, free: 13.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.3897, allocations: 358.8 kB / 0.5836 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.39, allocations: 113.3 kB / 0.5837 GB, free: 13.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.3903, allocations: 319 kB / 0.5841 GB, free: 12.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.391, allocations: 459.6 kB / 0.5845 GB, free: 12.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.391, allocations: 0 / 0.5845 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008322/0.3918, allocations: 0.505 MB / 0.585 GB, free: 11.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3918, allocations: 12.83 kB / 0.585 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3918, allocations: 4 kB / 0.585 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.392, allocations: 52.77 kB / 0.5851 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.3924, allocations: 123.8 kB / 0.5852 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004979/0.3929, allocations: 0.5601 MB / 0.5857 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.3932, allocations: 16 kB / 0.5857 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.3932, allocations: 24 kB / 0.5858 GB, free: 10.99 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.0003478/0.3936, allocations: 233.6 kB / 0.586 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.3936, allocations: 51.61 kB / 0.586 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.3943, allocations: 339.2 kB / 0.5864 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3943, allocations: 3.984 kB / 0.5864 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3943, allocations: 4 kB / 0.5864 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3943, allocations: 0 / 0.5864 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.3957, allocations: 0.8824 MB / 0.5872 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3957, allocations: 160 / 0.5872 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.3961, allocations: 87.89 kB / 0.5873 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.3962, allocations: 28.84 kB / 0.5873 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3963, allocations: 12 kB / 0.5873 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000414/0.3967, allocations: 0.5523 MB / 0.5879 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3967, allocations: 0 / 0.5879 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.3975, allocations: 0.564 MB / 0.5884 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.3976, allocations: 43.61 kB / 0.5885 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.3977, allocations: 12.06 kB / 0.5885 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3978, allocations: 8 kB / 0.5885 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.3979, allocations: 23.95 kB / 0.5885 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.3979, allocations: 19.98 kB / 0.5885 GB, free: 8.004 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.3982, allocations: 271.1 kB / 0.5888 GB, free: 7.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3982, allocations: 0 / 0.5888 GB, free: 7.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.3988, allocations: 131.9 kB / 0.5889 GB, free: 7.609 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.00018/0.3989, allocations: 111.2 kB / 0.589 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.3996, allocations: 315.8 kB / 0.5893 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3996, allocations: 1.688 kB / 0.5893 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3999, allocations: 143.8 kB / 0.5895 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.4004, allocations: 84.81 kB / 0.5895 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.4031, allocations: 1.643 MB / 0.5912 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4035, allocations: 360 kB / 0.5915 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.4037, allocations: 68.47 kB / 0.5916 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.4038, allocations: 43.42 kB / 0.5916 GB, free: 4.789 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4038, allocations: 3.938 kB / 0.5916 GB, free: 4.785 MB / 430.1 MB Notification: Performance of Templates: time 0.01139/0.4151, allocations: 5.038 MB / 0.5965 GB, free: 15.82 MB / 446.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.081116329005454]