Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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.506/1.506, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.3523/0.3523, allocations: 44.24 MB / 326.5 MB, free: 7.266 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 80.22 kB / 462.2 MB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2657, allocations: 60.99 MB / 0.5109 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003995/0.2697, allocations: 1.917 MB / 0.5128 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2708, allocations: 0.5376 MB / 0.5133 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.2709, allocations: 7.469 kB / 0.5133 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2711, allocations: 21.91 kB / 0.5133 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2712, allocations: 43.95 kB / 0.5133 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.2714, allocations: 41.55 kB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2716, allocations: 142.4 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2718, allocations: 53.81 kB / 0.5136 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2719, allocations: 52.08 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.272, allocations: 66.44 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.2721, allocations: 12.53 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.2721, allocations: 11.94 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.2721, allocations: 40.81 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.2722, allocations: 64.64 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.2724, allocations: 149.3 kB / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2724, allocations: 0 / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2724, allocations: 1.281 kB / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2724, allocations: 0 / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004996/0.2729, allocations: 436.5 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2729, allocations: 13.83 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.273, allocations: 47.36 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.273, allocations: 19.69 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.2732, allocations: 208.1 kB / 0.5146 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2732, allocations: 9.969 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.2733, allocations: 17.73 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2735, allocations: 127.8 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2735, allocations: 0 / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2735, allocations: 5.125 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2735, allocations: 8.266 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.2737, allocations: 86.97 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.2743, allocations: 465.5 kB / 0.5153 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2745, allocations: 112 kB / 0.5154 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.2746, allocations: 54.08 kB / 0.5155 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2746, allocations: 9.75 kB / 0.5155 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2746, allocations: 32.31 kB / 0.5155 GB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2746, allocations: 0 / 0.5155 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001351/0.2759, allocations: 0.8056 MB / 0.5163 GB, free: 8.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.276, allocations: 58.16 kB / 0.5164 GB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.2761, allocations: 141.8 kB / 0.5165 GB, free: 8.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2761, allocations: 27.08 kB / 0.5165 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.2761, allocations: 113.9 kB / 0.5166 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.2761, allocations: 70.25 kB / 0.5167 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.2762, allocations: 38.08 kB / 0.5168 GB, free: 8.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.2762, allocations: 325.6 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.2763, allocations: 47.3 kB / 0.5171 GB, free: 8.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.454e-05/0.2764, allocations: 81.58 kB / 0.5172 GB, free: 7.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.2766, allocations: 135.6 kB / 0.5173 GB, free: 7.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2766, allocations: 5.375 kB / 0.5173 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003335/0.2769, allocations: 196.2 kB / 0.5175 GB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2769, allocations: 9.438 kB / 0.5175 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2769, allocations: 1.125 kB / 0.5175 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.2771, allocations: 39.31 kB / 0.5176 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2773, allocations: 37.28 kB / 0.5176 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.2783, allocations: 1.744 MB / 0.5193 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.2784, allocations: 2.75 kB / 0.5193 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2784, allocations: 9.438 kB / 0.5193 GB, free: 6.027 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/0.2785, allocations: 132.6 kB / 0.5194 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.2786, allocations: 14.83 kB / 0.5194 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.2786, allocations: 14.56 kB / 0.5195 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2786, allocations: 6.688 kB / 0.5195 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2786, allocations: 5.438 kB / 0.5195 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2786, allocations: 0 / 0.5195 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.2792, allocations: 0.5481 MB / 0.52 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2792, allocations: 7.938 kB / 0.52 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2793, allocations: 35.91 kB / 0.52 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.854e-05/0.2794, allocations: 36.88 kB / 0.5201 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2795, allocations: 4 kB / 0.5201 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007088/0.2802, allocations: 1.489 MB / 0.5215 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2802, allocations: 4 kB / 0.5215 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2805, allocations: 340.9 kB / 0.5219 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.2806, allocations: 89.22 kB / 0.522 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2806, allocations: 8 kB / 0.522 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.2807, allocations: 3.984 kB / 0.522 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2807, allocations: 19.92 kB / 0.522 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2807, allocations: 4 kB / 0.522 GB, free: 3.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.2808, allocations: 110.7 kB / 0.5221 GB, free: 2.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2808, allocations: 0 / 0.5221 GB, free: 2.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.2811, allocations: 44 kB / 0.5221 GB, free: 2.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005418/0.2817, allocations: 0.876 MB / 0.523 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.2822, allocations: 262.7 kB / 0.5232 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2822, allocations: 0 / 0.5232 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.2824, allocations: 182.6 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.2827, allocations: 16 kB / 0.5234 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2849, allocations: 2.066 MB / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.2853, allocations: 0.7166 MB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.2854, allocations: 21.41 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.2855, allocations: 39.42 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2855, allocations: 0 / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.319, allocations: 3.453 MB / 0.5296 GB, free: 11.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.26, allocations: 11.88 kB / 0.5296 GB, free: 11.05 MB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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: 14.172162855044007]