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.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.001015/0.001015, allocations: 80.44 kB / 19.92 MB, free: 4.637 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.0009098/0.0009098, allocations: 177.2 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8884/0.8884, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.1383/0.1383, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.576e-05, allocations: 5.938 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002515/0.00254, allocations: 1.852 MB / 408.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003682, allocations: 0.5188 MB / 409.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.00378, allocations: 4 kB / 409.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.003914, allocations: 19.8 kB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.004008, allocations: 47.56 kB / 409.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.004238, allocations: 35.89 kB / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.004415, allocations: 159.2 kB / 409.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.004578, allocations: 41.83 kB / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.004722, allocations: 87.84 kB / 409.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.00481, allocations: 47.81 kB / 409.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.004841, allocations: 12 kB / 409.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.004858, allocations: 12 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.004887, allocations: 31.84 kB / 409.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.004934, allocations: 47.86 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.005133, allocations: 151.5 kB / 409.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005137, allocations: 0 / 409.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005138, allocations: 4 kB / 409.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.005143, allocations: 0 / 409.9 MB, free: 10.45 MB / 346.7 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.000516/0.005659, allocations: 353.7 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.005701, allocations: 15.97 kB / 410.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.005743, allocations: 46.73 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.00578, allocations: 16.84 kB / 410.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.00601, allocations: 145.6 kB / 410.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.006024, allocations: 8.375 kB / 410.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.00606, allocations: 24.3 kB / 410.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.006285, allocations: 130.2 kB / 410.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.006297, allocations: 4.141 kB / 410.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006312, allocations: 7.938 kB / 410.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006318, allocations: 4 kB / 410.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.006439, allocations: 83.92 kB / 410.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.006983, allocations: 403.5 kB / 411.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.007169, allocations: 110.5 kB / 411.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.007241, allocations: 52.78 kB / 411.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.007261, allocations: 4 kB / 411.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.007287, allocations: 38.5 kB / 411.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.495e-06/0.00729, allocations: 0 / 411.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001123/0.008413, allocations: 0.6557 MB / 412 MB, free: 8.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.008452, allocations: 63.39 kB / 412 MB, free: 8.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.008561, allocations: 141.6 kB / 412.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.008575, allocations: 25.7 kB / 412.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.008642, allocations: 116.5 kB / 412.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.008686, allocations: 67.39 kB / 412.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.008734, allocations: 37.7 kB / 412.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.00884, allocations: 318.8 kB / 412.7 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.008915, allocations: 47.92 kB / 412.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.009001, allocations: 75.41 kB / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.009151, allocations: 135.3 kB / 413 MB, free: 7.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.009155, allocations: 3.938 kB / 413 MB, free: 7.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002614/0.009416, allocations: 206.2 kB / 413.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.009436, allocations: 6.344 kB / 413.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.009443, allocations: 4 kB / 413.2 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.009593, allocations: 44.84 kB / 413.2 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.009717, allocations: 43.91 kB / 413.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.01098, allocations: 1.625 MB / 414.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.01105, allocations: 7.938 kB / 414.9 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01106, allocations: 8 kB / 414.9 MB, free: 5.035 MB / 346.7 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 0.0001058/0.01117, allocations: 126.2 kB / 415 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.01119, allocations: 11.95 kB / 415 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.01122, allocations: 29.17 kB / 415.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01122, allocations: 0 / 415.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.01123, allocations: 0 / 415.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01123, allocations: 7.938 kB / 415.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.01179, allocations: 0.4951 MB / 415.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01179, allocations: 192 / 415.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.0119, allocations: 39.97 kB / 415.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-05/0.01198, allocations: 32.88 kB / 415.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01199, allocations: 4 kB / 415.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.01311, allocations: 1.37 MB / 417 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01311, allocations: 0 / 417 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.01346, allocations: 348.9 kB / 417.4 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.01348, allocations: 8.109 kB / 417.4 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.01349, allocations: 12 kB / 417.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/0.01354, allocations: 7.984 kB / 417.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.0136, allocations: 11.98 kB / 417.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01361, allocations: 7.984 kB / 417.4 MB, free: 2.336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.01367, allocations: 115.1 kB / 417.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01367, allocations: 0 / 417.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.01392, allocations: 39.94 kB / 417.6 MB, free: 2.184 MB / 346.7 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.0005734/0.01449, allocations: 0.8774 MB / 418.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.01485, allocations: 254.7 kB / 418.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01485, allocations: 0 / 418.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.01499, allocations: 186.6 kB / 418.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01525, allocations: 36.33 kB / 418.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.01694, allocations: 2.01 MB / 420.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.365e-05/0.01702, allocations: 107.8 kB / 421 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.01707, allocations: 9.484 kB / 421 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.01713, allocations: 44.48 kB / 421.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01713, allocations: 0 / 421.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.03816, allocations: 4.135 MB / 425.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.579, allocations: 15.16 kB / 425.2 MB, free: 10.34 MB / 362.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.90122835803777]