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.001766/0.001766, allocations: 109 kB / 20.48 MB, free: 1.477 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.002195/0.002195, allocations: 217.7 kB / 23.79 MB, free: 4.684 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.469/1.469, allocations: 207.6 MB / 234.6 MB, free: 9.992 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.2644/0.2644, allocations: 44.25 MB / 331.1 MB, free: 9.602 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="cs",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.002728/0.002728, allocations: 69.61 kB / 468.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1199, allocations: 61.05 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003773/0.1237, allocations: 1.929 MB / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1249, allocations: 0.5463 MB / 0.5193 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.125, allocations: 0 / 0.5193 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1251, allocations: 23.73 kB / 0.5193 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1252, allocations: 47.62 kB / 0.5194 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1255, allocations: 39.94 kB / 0.5194 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1257, allocations: 147.3 kB / 0.5196 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1259, allocations: 58.03 kB / 0.5196 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.126, allocations: 55.8 kB / 0.5197 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1262, allocations: 63.7 kB / 0.5197 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1262, allocations: 12 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.1262, allocations: 12 kB / 0.5198 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.1263, allocations: 31.91 kB / 0.5198 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.1263, allocations: 71.66 kB / 0.5199 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1266, allocations: 151.4 kB / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1266, allocations: 0 / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1266, allocations: 0 / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1266, allocations: 0 / 0.52 GB, free: 4.156 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.0006274/0.1272, allocations: 353.8 kB / 0.5203 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1273, allocations: 8.031 kB / 0.5203 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.023e-05/0.1273, allocations: 20.06 kB / 0.5204 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.1273, allocations: 46.73 kB / 0.5204 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1274, allocations: 16.84 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1277, allocations: 146.3 kB / 0.5206 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1277, allocations: 8.375 kB / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.1278, allocations: 24.08 kB / 0.5206 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.128, allocations: 125.6 kB / 0.5207 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1281, allocations: 7.984 kB / 0.5207 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1281, allocations: 4 kB / 0.5207 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1281, allocations: 8 kB / 0.5207 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.1283, allocations: 75.95 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.1291, allocations: 435.4 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.1293, allocations: 106.5 kB / 0.5213 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1294, allocations: 56.84 kB / 0.5214 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1294, allocations: 0 / 0.5214 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1295, allocations: 34.56 kB / 0.5214 GB, free: 2.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1295, allocations: 4 kB / 0.5214 GB, free: 2.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001621/0.1311, allocations: 0.6642 MB / 0.5221 GB, free: 1.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1312, allocations: 59.39 kB / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1313, allocations: 141.6 kB / 0.5223 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1313, allocations: 25.7 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.1314, allocations: 116.4 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.1315, allocations: 67.39 kB / 0.5225 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.1316, allocations: 37.7 kB / 0.5225 GB, free: 1.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.1318, allocations: 322.8 kB / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1319, allocations: 43.97 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1321, allocations: 83.28 kB / 0.5229 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1323, allocations: 131.4 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1323, allocations: 0 / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004172/0.1327, allocations: 202.2 kB / 0.5232 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1327, allocations: 8 kB / 0.5232 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1327, allocations: 0 / 0.5232 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.1329, allocations: 40.78 kB / 0.5233 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1331, allocations: 40 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.1348, allocations: 1.637 MB / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.1349, allocations: 8.031 kB / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1349, allocations: 4 kB / 0.5249 GB, free: 14.71 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.0001357/0.135, allocations: 133.8 kB / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1351, allocations: 11.95 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1351, allocations: 25.12 kB / 0.5251 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1351, allocations: 4 kB / 0.5251 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1351, allocations: 0 / 0.5251 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1351, allocations: 0 / 0.5251 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.136, allocations: 0.5156 MB / 0.5256 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.136, allocations: 4 kB / 0.5256 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1362, allocations: 32.02 kB / 0.5256 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.1363, allocations: 40.86 kB / 0.5257 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1363, allocations: 4 kB / 0.5257 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.1376, allocations: 1.381 MB / 0.527 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1376, allocations: 3.938 kB / 0.527 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.1382, allocations: 345 kB / 0.5274 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.1382, allocations: 11.97 kB / 0.5274 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1382, allocations: 4 kB / 0.5274 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1383, allocations: 7.938 kB / 0.5274 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.1384, allocations: 23.81 kB / 0.5274 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1384, allocations: 4 kB / 0.5274 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.457e-05/0.1385, allocations: 105.8 kB / 0.5275 GB, free: 11.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 0.5275 GB, free: 11.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.1388, allocations: 48.06 kB / 0.5276 GB, free: 11.82 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.000916/0.1398, allocations: 0.8741 MB / 0.5284 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.1403, allocations: 262.7 kB / 0.5287 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1403, allocations: 4 kB / 0.5287 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.1406, allocations: 184.5 kB / 0.5288 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.141, allocations: 16 kB / 0.5289 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.144, allocations: 2.07 MB / 0.5309 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1444, allocations: 0.7166 MB / 0.5316 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.1445, allocations: 13.42 kB / 0.5316 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.1446, allocations: 39.42 kB / 0.5316 GB, free: 7.461 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1446, allocations: 0 / 0.5316 GB, free: 7.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.1746, allocations: 3.619 MB / 0.5352 GB, free: 3.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/12.99, allocations: 15.3 kB / 0.5352 GB, free: 3.824 MB / 414.1 MB " [Timeout remaining time 647] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.276264674961567]