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.00164/0.00164, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001701/0.001701, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2609/0.2609, allocations: 46.95 MB / 360.9 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 179] 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.002976/0.002976, allocations: 68.08 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3858, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007714/0.3935, allocations: 5.135 MB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.3985, allocations: 2.251 MB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.3996, allocations: 51.56 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.4003, allocations: 234 kB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.4008, allocations: 182.2 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.4021, allocations: 474.9 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.4035, allocations: 1.114 MB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007821/0.4043, allocations: 429.8 kB / 0.5707 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.4049, allocations: 394.5 kB / 0.571 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.4054, allocations: 386.1 kB / 0.5714 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.4056, allocations: 96 kB / 0.5715 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.4059, allocations: 159.9 kB / 0.5717 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.4061, allocations: 219.2 kB / 0.5719 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.4065, allocations: 374.2 kB / 0.5722 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.4082, allocations: 1.302 MB / 0.5735 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4082, allocations: 3.984 kB / 0.5735 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4082, allocations: 0 / 0.5735 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.4082, allocations: 0 / 0.5735 GB, free: 7.371 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.001833/0.41, allocations: 1.077 MB / 0.5746 GB, free: 6.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4101, allocations: 8.031 kB / 0.5746 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.4104, allocations: 124.2 kB / 0.5747 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.4115, allocations: 0.5186 MB / 0.5752 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.4115, allocations: 70 kB / 0.5753 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.4117, allocations: 95.94 kB / 0.5753 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.4133, allocations: 0.8853 MB / 0.5762 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.4134, allocations: 3.984 kB / 0.5762 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.4134, allocations: 44 kB / 0.5763 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.4135, allocations: 20 kB / 0.5763 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4145, allocations: 0.5229 MB / 0.5768 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.4183, allocations: 3.209 MB / 0.5799 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.419, allocations: 207.1 kB / 0.5801 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.4192, allocations: 92.81 kB / 0.5802 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.4193, allocations: 23.98 kB / 0.5802 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4193, allocations: 34.56 kB / 0.5803 GB, free: 168 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.4193, allocations: 0 / 0.5803 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002894/0.4222, allocations: 1.151 MB / 0.5814 GB, free: 14.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.4223, allocations: 55.41 kB / 0.5814 GB, free: 14.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.4228, allocations: 417.7 kB / 0.5818 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.4229, allocations: 37.7 kB / 0.5819 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.4232, allocations: 479.5 kB / 0.5823 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.4234, allocations: 142.7 kB / 0.5825 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.4235, allocations: 102.2 kB / 0.5826 GB, free: 13.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4238, allocations: 362.8 kB / 0.5829 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.424, allocations: 117.2 kB / 0.583 GB, free: 13.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.4244, allocations: 311 kB / 0.5833 GB, free: 12.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.4252, allocations: 459.6 kB / 0.5838 GB, free: 12.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4252, allocations: 3.938 kB / 0.5838 GB, free: 12.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008435/0.426, allocations: 0.5133 MB / 0.5843 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.426, allocations: 8 kB / 0.5843 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4261, allocations: 4 kB / 0.5843 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.4263, allocations: 44.83 kB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.4267, allocations: 127.8 kB / 0.5844 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004755/0.4271, allocations: 0.5562 MB / 0.585 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.4274, allocations: 20.36 kB / 0.585 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.4274, allocations: 28 kB / 0.585 GB, free: 10.96 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.0003789/0.4278, allocations: 233.6 kB / 0.5852 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.4279, allocations: 51.66 kB / 0.5853 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006955/0.4286, allocations: 331.1 kB / 0.5856 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4286, allocations: 4 kB / 0.5856 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4286, allocations: 0 / 0.5856 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4286, allocations: 7.984 kB / 0.5856 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.4301, allocations: 0.8868 MB / 0.5865 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4301, allocations: 0 / 0.5865 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.4305, allocations: 83.89 kB / 0.5866 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.4306, allocations: 28.84 kB / 0.5866 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4306, allocations: 8 kB / 0.5866 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/0.4311, allocations: 0.5523 MB / 0.5871 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4311, allocations: 8.25 kB / 0.5872 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008607/0.4319, allocations: 0.5601 MB / 0.5877 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.432, allocations: 43.67 kB / 0.5877 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.432, allocations: 8 kB / 0.5877 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4322, allocations: 8 kB / 0.5878 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.4323, allocations: 23.95 kB / 0.5878 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.4323, allocations: 16 kB / 0.5878 GB, free: 7.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.4326, allocations: 275.1 kB / 0.5881 GB, free: 7.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4326, allocations: 0 / 0.5881 GB, free: 7.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005903/0.4332, allocations: 127.9 kB / 0.5882 GB, free: 7.59 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.0002035/0.4334, allocations: 115.2 kB / 0.5883 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.4341, allocations: 325.1 kB / 0.5886 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4341, allocations: 0 / 0.5886 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.4344, allocations: 136 kB / 0.5887 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.435, allocations: 91.72 kB / 0.5888 GB, free: 6.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4379, allocations: 1.645 MB / 0.5904 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4383, allocations: 368 kB / 0.5908 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.4385, allocations: 56.55 kB / 0.5908 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.4386, allocations: 39.42 kB / 0.5909 GB, free: 4.766 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4386, allocations: 0 / 0.5909 GB, free: 4.766 MB / 430.1 MB Notification: Performance of Templates: time 0.01206/0.4507, allocations: 5.043 MB / 0.5958 GB, free: 15.8 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 -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/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.425741472747177]