Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 174.2 kB / 16.72 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 82.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2834/0.2834, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 20 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 58.83 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002049/0.1143, allocations: 1.513 MB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.1147, allocations: 155.4 kB / 492.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.1148, allocations: 4 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.1149, allocations: 11.91 kB / 492.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.115, allocations: 51.61 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.1152, allocations: 31.97 kB / 492.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1154, allocations: 175.1 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.1157, allocations: 45.84 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1158, allocations: 59.77 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1159, allocations: 63.72 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.116, allocations: 8 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.116, allocations: 8 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.116, allocations: 27.84 kB / 493 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1162, allocations: 105.4 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1164, allocations: 131.9 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.1164, allocations: 0 / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1164, allocations: 0 / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1164, allocations: 0 / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006942/0.1171, allocations: 430.9 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1172, allocations: 12.03 kB / 493.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.1173, allocations: 16.75 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1175, allocations: 204.1 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1176, allocations: 16.7 kB / 493.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.1176, allocations: 20.28 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1179, allocations: 166.1 kB / 494 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.1179, allocations: 4.125 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.118, allocations: 15.88 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.118, allocations: 4 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1182, allocations: 87.94 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.1191, allocations: 0.6149 MB / 494.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1194, allocations: 133.2 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.1195, allocations: 45.7 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1195, allocations: 7.984 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1195, allocations: 34.56 kB / 495 MB, free: 6.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1195, allocations: 0 / 495 MB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008627/0.1204, allocations: 381.4 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.1205, allocations: 89.03 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1206, allocations: 133.7 kB / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1207, allocations: 29.7 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.1208, allocations: 128 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.1208, allocations: 59.2 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.1209, allocations: 384 / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.121, allocations: 326.8 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.1211, allocations: 35.98 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1212, allocations: 104.5 kB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1214, allocations: 156.4 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1214, allocations: 0 / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000342/0.1218, allocations: 230.8 kB / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1218, allocations: 4 kB / 496.6 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1218, allocations: 8 kB / 496.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.122, allocations: 45.95 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1222, allocations: 39.92 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.1242, allocations: 2.712 MB / 499.4 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.1243, allocations: 16.09 kB / 499.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1243, allocations: 16 kB / 499.4 MB, free: 1.371 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.1244, allocations: 137.7 kB / 499.6 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1245, allocations: 11.91 kB / 499.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.1245, allocations: 12.72 kB / 499.6 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1245, allocations: 4 kB / 499.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1245, allocations: 0 / 499.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1245, allocations: 3.984 kB / 499.6 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.1248, allocations: 245.4 kB / 499.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1248, allocations: 0 / 499.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.125, allocations: 27.98 kB / 499.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.1251, allocations: 49.69 kB / 499.9 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1251, allocations: 4 kB / 499.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1928/0.318, allocations: 2.705 MB / 0.4909 GB, free: 40.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.318, allocations: 0 / 0.4909 GB, free: 40.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.3184, allocations: 383.1 kB / 0.4912 GB, free: 40.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.3184, allocations: 90.06 kB / 0.4913 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3185, allocations: 4.656 kB / 0.4913 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3186, allocations: 3.062 kB / 0.4913 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.3186, allocations: 10.8 kB / 0.4913 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3186, allocations: 4.938 kB / 0.4913 GB, free: 40.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.3187, allocations: 103 kB / 0.4914 GB, free: 40.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3187, allocations: 0 / 0.4914 GB, free: 40.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.3191, allocations: 62.55 kB / 0.4915 GB, free: 40.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.231e-05/0.3192, allocations: 96.33 kB / 0.4916 GB, free: 39.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3197, allocations: 349 kB / 0.4919 GB, free: 39.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3197, allocations: 1.188 kB / 0.4919 GB, free: 39.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.3199, allocations: 288.2 kB / 0.4922 GB, free: 39.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.3204, allocations: 30.31 kB / 0.4922 GB, free: 39.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3215, allocations: 0.8087 MB / 0.493 GB, free: 39.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.3217, allocations: 0.7281 MB / 0.4937 GB, free: 38.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3217, allocations: 14.75 kB / 0.4937 GB, free: 38.35 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3217, allocations: 0 / 0.4937 GB, free: 38.35 MB / 378.7 MB Notification: Performance of Templates: time 0.005873/0.3276, allocations: 3.094 MB / 0.4968 GB, free: 38.15 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches