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.001481/0.001481, allocations: 115.1 kB / 17.08 MB, free: 5.992 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.00153/0.00153, allocations: 192.7 kB / 20.02 MB, free: 3.062 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.591/1.591, allocations: 205.1 MB / 227.9 MB, free: 4.34 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.3762/0.3762, allocations: 43.51 MB / 320.8 MB, free: 9.008 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.002595/0.002595, allocations: 75.88 kB / 450 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2903, allocations: 57.78 MB / 0.4959 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003499/0.2938, allocations: 1.909 MB / 0.4977 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.2948, allocations: 0.5288 MB / 0.4983 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.295, allocations: 7.219 kB / 0.4983 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.2952, allocations: 17.92 kB / 0.4983 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2953, allocations: 47.92 kB / 0.4983 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.2955, allocations: 37.47 kB / 0.4984 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.2957, allocations: 150.4 kB / 0.4985 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.2959, allocations: 64.28 kB / 0.4986 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.296, allocations: 59.94 kB / 0.4986 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.2962, allocations: 62.55 kB / 0.4987 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.2962, allocations: 12.38 kB / 0.4987 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.2962, allocations: 11.56 kB / 0.4987 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.2963, allocations: 31.16 kB / 0.4987 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.2964, allocations: 70.67 kB / 0.4988 GB, free: 17.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2966, allocations: 149.1 kB / 0.499 GB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2966, allocations: 1.375 kB / 0.499 GB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2966, allocations: 0 / 0.499 GB, free: 16.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2966, allocations: 0 / 0.499 GB, free: 16.95 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.0005392/0.2972, allocations: 436.7 kB / 0.4994 GB, free: 16.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2972, allocations: 13.61 kB / 0.4994 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.2973, allocations: 47.86 kB / 0.4994 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.2973, allocations: 15.31 kB / 0.4994 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.2976, allocations: 216.7 kB / 0.4996 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2976, allocations: 10.22 kB / 0.4997 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2977, allocations: 16.23 kB / 0.4997 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2979, allocations: 135.2 kB / 0.4998 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2979, allocations: 1.219 kB / 0.4998 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.298, allocations: 5.438 kB / 0.4998 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.298, allocations: 3.531 kB / 0.4998 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2982, allocations: 80.52 kB / 0.4999 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.2988, allocations: 456.1 kB / 0.5003 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.299, allocations: 124.8 kB / 0.5004 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2991, allocations: 62.05 kB / 0.5005 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2991, allocations: 9.172 kB / 0.5005 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.2992, allocations: 35.75 kB / 0.5005 GB, free: 15.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2992, allocations: 0 / 0.5005 GB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001375/0.3006, allocations: 0.8047 MB / 0.5013 GB, free: 14.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.3006, allocations: 53.81 kB / 0.5014 GB, free: 14.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3007, allocations: 144.5 kB / 0.5015 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3007, allocations: 34.86 kB / 0.5016 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.3008, allocations: 109.8 kB / 0.5017 GB, free: 14.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3008, allocations: 71 kB / 0.5017 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.3009, allocations: 33.03 kB / 0.5018 GB, free: 14.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.301, allocations: 330.1 kB / 0.5021 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3011, allocations: 44.08 kB / 0.5021 GB, free: 14.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3012, allocations: 80 kB / 0.5022 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3014, allocations: 137.2 kB / 0.5023 GB, free: 13.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3014, allocations: 0 / 0.5023 GB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003709/0.3018, allocations: 202.1 kB / 0.5025 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3018, allocations: 9.219 kB / 0.5025 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3019, allocations: 5.406 kB / 0.5025 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.3021, allocations: 42.67 kB / 0.5026 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3022, allocations: 29.7 kB / 0.5026 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.3035, allocations: 1.741 MB / 0.5043 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.3036, allocations: 7.375 kB / 0.5043 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3036, allocations: 4.375 kB / 0.5043 GB, free: 12.04 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 9.779e-05/0.3037, allocations: 137.8 kB / 0.5044 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3038, allocations: 9.672 kB / 0.5044 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.3038, allocations: 19.67 kB / 0.5045 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3038, allocations: 6.312 kB / 0.5045 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3038, allocations: 1.094 kB / 0.5045 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3038, allocations: 0 / 0.5045 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.3046, allocations: 0.5638 MB / 0.505 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3046, allocations: 1.094 kB / 0.505 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.3048, allocations: 31.89 kB / 0.5051 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.3049, allocations: 35.14 kB / 0.5051 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3049, allocations: 9.656 kB / 0.5051 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008601/0.3058, allocations: 1.485 MB / 0.5065 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3058, allocations: 1.156 kB / 0.5065 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.3063, allocations: 343.6 kB / 0.5069 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3063, allocations: 89.14 kB / 0.507 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3063, allocations: 9.469 kB / 0.507 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.3064, allocations: 6.438 kB / 0.507 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.3065, allocations: 14.3 kB / 0.507 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3065, allocations: 17.14 kB / 0.507 GB, free: 9.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.3066, allocations: 106.8 kB / 0.5071 GB, free: 9.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3066, allocations: 0 / 0.5071 GB, free: 9.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.3069, allocations: 39.12 kB / 0.5071 GB, free: 9.359 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.0006341/0.3076, allocations: 0.8746 MB / 0.508 GB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.3081, allocations: 263.6 kB / 0.5083 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3081, allocations: 0 / 0.5083 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3084, allocations: 197.1 kB / 0.5084 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3087, allocations: 24.38 kB / 0.5085 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.3109, allocations: 2.062 MB / 0.5105 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.3111, allocations: 0.7189 MB / 0.5112 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.3112, allocations: 11.83 kB / 0.5112 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.3113, allocations: 43.02 kB / 0.5112 GB, free: 5.723 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3113, allocations: 0 / 0.5112 GB, free: 5.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.3439, allocations: 3.415 MB / 0.5146 GB, free: 3.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.3, allocations: 13.3 kB / 0.5146 GB, free: 3.832 MB / 382.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.27245607203804]