Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001214/0.001214, allocations: 80.53 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.0008852/0.0008852, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8284/0.8284, allocations: 158.6 MB / 185 MB, free: 3.051 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.1387/0.1387, 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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.736e-05, allocations: 10.08 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002627/0.002645, allocations: 2.642 MB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003693, allocations: 0.7331 MB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.003826, allocations: 11.94 kB / 410.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.003978, allocations: 63.31 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.004148, allocations: 130.8 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.004373, allocations: 99.86 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.00469, allocations: 466 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.004897, allocations: 122.8 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.005137, allocations: 259.4 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.005289, allocations: 139.5 kB / 411.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.005336, allocations: 36 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.005374, allocations: 36 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.005422, allocations: 83.67 kB / 411.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.005514, allocations: 139.7 kB / 411.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.005861, allocations: 458.4 kB / 412.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005864, allocations: 4 kB / 412.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005865, allocations: 0 / 412.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.00587, allocations: 0 / 412.2 MB, free: 12.83 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007804/0.006651, allocations: 0.591 MB / 412.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.006688, allocations: 11.97 kB / 412.8 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.006743, allocations: 78.7 kB / 412.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.006793, allocations: 48.66 kB / 412.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.007042, allocations: 230.1 kB / 413.2 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.007061, allocations: 29.38 kB / 413.2 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.007102, allocations: 40.33 kB / 413.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.00751, allocations: 381.5 kB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.007527, allocations: 8.188 kB / 413.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.00755, allocations: 20.12 kB / 413.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007557, allocations: 8 kB / 413.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.007853, allocations: 251.8 kB / 413.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.008793, allocations: 0.9728 MB / 414.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.009132, allocations: 323.5 kB / 415.2 MB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.009303, allocations: 162.4 kB / 415.3 MB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.009325, allocations: 4 kB / 415.3 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.009347, allocations: 42.55 kB / 415.4 MB, free: 9.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.009348, allocations: 0 / 415.4 MB, free: 9.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.002229/0.01158, allocations: 2 MB / 417.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.01163, allocations: 114.8 kB / 417.5 MB, free: 7.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.01178, allocations: 245.8 kB / 417.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.01181, allocations: 33.7 kB / 417.8 MB, free: 6.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.01189, allocations: 184.9 kB / 417.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.01199, allocations: 206.2 kB / 418.1 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.01207, allocations: 90.3 kB / 418.2 MB, free: 6.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01217, allocations: 350.7 kB / 418.6 MB, free: 6.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01233, allocations: 129.2 kB / 418.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.01253, allocations: 232.7 kB / 418.9 MB, free: 5.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.01306, allocations: 406 kB / 419.3 MB, free: 5.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01306, allocations: 0 / 419.3 MB, free: 5.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005786/0.01364, allocations: 0.5462 MB / 419.9 MB, free: 4.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01365, allocations: 8 kB / 419.9 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01366, allocations: 3.938 kB / 419.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.01387, allocations: 126.5 kB / 420 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.01408, allocations: 91.88 kB / 420.1 MB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.0166, allocations: 4.876 MB / 425 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.0167, allocations: 24.02 kB / 425 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01672, allocations: 23.92 kB / 425 MB, free: 15.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.01684, allocations: 161.8 kB / 425.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.01689, allocations: 43.75 kB / 425.2 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.01694, allocations: 42.12 kB / 425.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01694, allocations: 12.06 kB / 425.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.01695, allocations: 7.984 kB / 425.3 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01695, allocations: 0 / 425.3 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.01826, allocations: 1.246 MB / 426.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.01826, allocations: 4.188 kB / 426.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.01846, allocations: 95.89 kB / 426.6 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/0.01861, allocations: 90.45 kB / 426.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01862, allocations: 19.98 kB / 426.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.02035, allocations: 4.093 MB / 430.8 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02035, allocations: 4.266 kB / 430.8 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.02111, allocations: 0.926 MB / 431.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.02114, allocations: 35.75 kB / 431.8 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.02116, allocations: 12.06 kB / 431.8 MB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.02129, allocations: 19.98 kB / 431.8 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.02136, allocations: 55.78 kB / 431.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.02137, allocations: 16 kB / 431.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.02146, allocations: 169.2 kB / 432.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02146, allocations: 4 kB / 432.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000399/0.02186, allocations: 120 kB / 432.2 MB, free: 7.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.001147/0.02301, allocations: 1.474 MB / 433.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.02372, allocations: 0.7535 MB / 434.4 MB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02372, allocations: 0 / 434.4 MB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.02411, allocations: 0.5656 MB / 435 MB, free: 4.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.02452, allocations: 61.55 kB / 435 MB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.02784, allocations: 4.037 MB / 439.1 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.02799, allocations: 224.8 kB / 439.3 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.02807, allocations: 39.25 kB / 439.3 MB, free: 72 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.0282, allocations: 124.5 kB / 439.4 MB, free: 15.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0282, allocations: 0 / 439.4 MB, free: 15.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.05526, allocations: 9.271 MB / 448.7 MB, free: 6.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.979, allocations: 3.953 kB / 448.7 MB, free: 6.645 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 8.987957715056837]