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.0009341/0.0009341, allocations: 182.7 kB / 16.41 MB, free: 5.594 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.389/1.389, allocations: 205.4 MB / 222.5 MB, free: 13.82 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.0008647/0.000865, allocations: 90.23 kB / 270.9 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 43.57 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003396, allocations: 16 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 58.87 MB / 490.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001928/0.117, allocations: 1.505 MB / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.1173, allocations: 155.5 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.1174, allocations: 4 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.1174, allocations: 15.84 kB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1176, allocations: 43.62 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.1177, allocations: 31.97 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1179, allocations: 171.1 kB / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.118, allocations: 45.84 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.1181, allocations: 55.8 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1182, allocations: 59.77 kB / 492.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1183, allocations: 15.92 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.868e-05/0.1183, allocations: 8 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.1183, allocations: 27.92 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.1184, allocations: 53.64 kB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1186, allocations: 131.9 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1186, allocations: 0 / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1186, allocations: 0 / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1186, allocations: 0 / 492.6 MB, free: 6.977 MB / 330.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.0005539/0.1191, allocations: 427.2 kB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1192, allocations: 8.031 kB / 493 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1192, allocations: 27.75 kB / 493 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1195, allocations: 202.9 kB / 493.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1195, allocations: 12.27 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1195, allocations: 23.91 kB / 493.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1198, allocations: 165.6 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1198, allocations: 4 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1199, allocations: 4 kB / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1199, allocations: 4 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.12, allocations: 95.88 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.1208, allocations: 0.615 MB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1211, allocations: 129.2 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.1212, allocations: 57.64 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1212, allocations: 0 / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1213, allocations: 34.56 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.1213, allocations: 0 / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007978/0.1221, allocations: 389.4 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.1221, allocations: 85.11 kB / 494.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1222, allocations: 128.2 kB / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1223, allocations: 29.7 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.1224, allocations: 128 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1224, allocations: 55.19 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.1224, allocations: 8 kB / 495.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1226, allocations: 326.7 kB / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.1226, allocations: 35.98 kB / 495.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1227, allocations: 104.6 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.1228, allocations: 55.92 kB / 495.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1228, allocations: 4 kB / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003385/0.1232, allocations: 207 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1232, allocations: 8.25 kB / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1232, allocations: 4 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.1234, allocations: 54.11 kB / 495.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1236, allocations: 35.92 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.1257, allocations: 2.728 MB / 498.7 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.1257, allocations: 11.84 kB / 498.7 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1258, allocations: 12 kB / 498.7 MB, free: 216 kB / 330.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.0001271/0.1259, allocations: 137.6 kB / 498.8 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.126, allocations: 19.98 kB / 498.9 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.126, allocations: 20.66 kB / 498.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.126, allocations: 0 / 498.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.126, allocations: 4 kB / 498.9 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.126, allocations: 0 / 498.9 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1263, allocations: 229.5 kB / 499.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1263, allocations: 4 kB / 499.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1265, allocations: 23.98 kB / 499.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.1266, allocations: 41.7 kB / 499.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1266, allocations: 15.94 kB / 499.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.1285, allocations: 2.712 MB / 0.4901 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1285, allocations: 0 / 0.4901 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.129, allocations: 372.6 kB / 0.4905 GB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.129, allocations: 88.97 kB / 0.4906 GB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1291, allocations: 8.062 kB / 0.4906 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1292, allocations: 0 / 0.4906 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.1292, allocations: 19.97 kB / 0.4906 GB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1292, allocations: 4 kB / 0.4906 GB, free: 12.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.226e-05/0.1293, allocations: 102.9 kB / 0.4907 GB, free: 12.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1293, allocations: 0 / 0.4907 GB, free: 12.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.1297, allocations: 55.84 kB / 0.4908 GB, free: 12 MB / 346.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 0.0001257/0.1298, allocations: 95.25 kB / 0.4909 GB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.1304, allocations: 345.2 kB / 0.4912 GB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1304, allocations: 4 kB / 0.4912 GB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.1307, allocations: 285.3 kB / 0.4915 GB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.1312, allocations: 36.17 kB / 0.4915 GB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1323, allocations: 0.8241 MB / 0.4923 GB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1327, allocations: 0.7242 MB / 0.493 GB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1327, allocations: 11.44 kB / 0.493 GB, free: 9.578 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1327, allocations: 0 / 0.493 GB, free: 9.578 MB / 346.7 MB Notification: Performance of Templates: time 0.004695/0.1374, allocations: 3.083 MB / 0.496 GB, free: 6.492 MB / 346.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