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.001784/0.001784, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002072/0.002072, allocations: 221.1 kB / 23.01 MB, free: 5.004 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.538/1.538, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.2274/0.2274, allocations: 44.25 MB / 330.3 MB, free: 9.516 MB / 270.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 72.41 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1279, allocations: 61.04 MB / 0.5161 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003747/0.1316, allocations: 1.937 MB / 0.518 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1327, allocations: 0.5424 MB / 0.5185 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1328, allocations: 4 kB / 0.5186 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1329, allocations: 19.73 kB / 0.5186 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.133, allocations: 47.62 kB / 0.5186 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1333, allocations: 31.97 kB / 0.5186 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1335, allocations: 151.3 kB / 0.5188 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1337, allocations: 50.05 kB / 0.5188 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1338, allocations: 67.72 kB / 0.5189 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.134, allocations: 67.69 kB / 0.519 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.134, allocations: 12 kB / 0.519 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.134, allocations: 12 kB / 0.519 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.1341, allocations: 27.92 kB / 0.519 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.1341, allocations: 63.67 kB / 0.5191 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1344, allocations: 155.3 kB / 0.5192 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1344, allocations: 0 / 0.5192 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1344, allocations: 0 / 0.5192 GB, free: 4.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1344, allocations: 4 kB / 0.5192 GB, free: 4.16 MB / 398.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.0006561/0.1351, allocations: 357.7 kB / 0.5196 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1351, allocations: 8.031 kB / 0.5196 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.1352, allocations: 50.73 kB / 0.5196 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1352, allocations: 12.84 kB / 0.5196 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1355, allocations: 150.3 kB / 0.5198 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1355, allocations: 16.38 kB / 0.5198 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1355, allocations: 20.33 kB / 0.5198 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1358, allocations: 133.5 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1358, allocations: 4 kB / 0.5199 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1358, allocations: 4 kB / 0.52 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1358, allocations: 4 kB / 0.52 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.136, allocations: 83.94 kB / 0.52 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.1368, allocations: 427.4 kB / 0.5204 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1371, allocations: 110.5 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1372, allocations: 56.77 kB / 0.5206 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1372, allocations: 4 kB / 0.5206 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1373, allocations: 30.56 kB / 0.5206 GB, free: 2.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.1373, allocations: 0 / 0.5206 GB, free: 2.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001565/0.1388, allocations: 0.6669 MB / 0.5213 GB, free: 1.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1389, allocations: 55.41 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.139, allocations: 142.1 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1391, allocations: 29.7 kB / 0.5215 GB, free: 1.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1391, allocations: 112.4 kB / 0.5216 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.1392, allocations: 71.38 kB / 0.5217 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.1393, allocations: 37.7 kB / 0.5217 GB, free: 1.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1394, allocations: 322.8 kB / 0.522 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1395, allocations: 43.98 kB / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1397, allocations: 83.28 kB / 0.5221 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1399, allocations: 127.4 kB / 0.5223 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1399, allocations: 0 / 0.5223 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004271/0.1403, allocations: 202.2 kB / 0.5225 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1404, allocations: 11.97 kB / 0.5225 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1404, allocations: 4.047 kB / 0.5225 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.1406, allocations: 44.77 kB / 0.5225 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1408, allocations: 39.97 kB / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.1426, allocations: 1.633 MB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1427, allocations: 0 / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1427, allocations: 12 kB / 0.5242 GB, free: 14.72 MB / 414.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 0.0001573/0.1429, allocations: 133.8 kB / 0.5243 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1429, allocations: 7.953 kB / 0.5243 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1429, allocations: 21.11 kB / 0.5243 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.143, allocations: 3.938 kB / 0.5243 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.143, allocations: 0 / 0.5243 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.143, allocations: 4 kB / 0.5243 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.1439, allocations: 0.5157 MB / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1439, allocations: 0 / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.1441, allocations: 35.98 kB / 0.5249 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.1442, allocations: 28.84 kB / 0.5249 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1442, allocations: 7.984 kB / 0.5249 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.1456, allocations: 1.377 MB / 0.5262 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1456, allocations: 7.969 kB / 0.5262 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.1462, allocations: 345 kB / 0.5266 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.1462, allocations: 7.984 kB / 0.5266 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1462, allocations: 15.92 kB / 0.5266 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1463, allocations: 4 kB / 0.5266 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1464, allocations: 27.81 kB / 0.5266 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1464, allocations: 8 kB / 0.5266 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.1465, allocations: 110.7 kB / 0.5267 GB, free: 11.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1465, allocations: 0 / 0.5267 GB, free: 11.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.1469, allocations: 36 kB / 0.5268 GB, free: 11.84 MB / 414.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.000918/0.1478, allocations: 0.874 MB / 0.5276 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.1484, allocations: 262.8 kB / 0.5279 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1484, allocations: 0 / 0.5279 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1487, allocations: 196.6 kB / 0.5281 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1491, allocations: 19.98 kB / 0.5281 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.152, allocations: 2.05 MB / 0.5301 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1524, allocations: 0.7244 MB / 0.5308 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.1525, allocations: 9.422 kB / 0.5308 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.1526, allocations: 39.55 kB / 0.5308 GB, free: 7.477 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1526, allocations: 3.938 kB / 0.5309 GB, free: 7.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.1908, allocations: 3.611 MB / 0.5344 GB, free: 3.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.18, allocations: 0 / 0.5344 GB, free: 3.855 MB / 414.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/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: 15.656606821001333]