Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.111, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003044/0.1141, allocations: 1.842 MB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.1144, allocations: 155.5 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1145, allocations: 3.938 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.083e-05/0.1145, allocations: 19.8 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.1147, allocations: 55.55 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.1148, allocations: 39.89 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.115, allocations: 183.1 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1151, allocations: 57.38 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1153, allocations: 71.72 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1154, allocations: 67.7 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1154, allocations: 16 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.1154, allocations: 16 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.1155, allocations: 31.91 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1156, allocations: 87.61 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1158, allocations: 183.3 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1158, allocations: 3.938 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1158, allocations: 0 / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1158, allocations: 0 / 473.5 MB, free: 10.82 MB / 350.1 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.0005231/0.1163, allocations: 447.3 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1164, allocations: 16.03 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1164, allocations: 16.75 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1166, allocations: 208.1 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1166, allocations: 16.7 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1167, allocations: 16.28 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1169, allocations: 166.2 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1169, allocations: 192 / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.117, allocations: 11.94 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.117, allocations: 4 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1171, allocations: 103.9 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.1179, allocations: 0.6033 MB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1181, allocations: 133.2 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.1182, allocations: 45.89 kB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1182, allocations: 7.938 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1182, allocations: 34.56 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1182, allocations: 0 / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007365/0.119, allocations: 377.2 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.119, allocations: 81.09 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1191, allocations: 134 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1192, allocations: 29.7 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.1192, allocations: 128 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1193, allocations: 59.19 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.1194, allocations: 41.7 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1195, allocations: 322.8 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.1195, allocations: 35.98 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1197, allocations: 114.5 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1198, allocations: 160.4 kB / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1199, allocations: 0 / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003486/0.1202, allocations: 230.9 kB / 477 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1202, allocations: 4 kB / 477 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1202, allocations: 4 kB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.1205, allocations: 49.69 kB / 477 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1206, allocations: 39.92 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.1228, allocations: 2.982 MB / 480.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.1229, allocations: 15.88 kB / 480.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1229, allocations: 8.156 kB / 480.1 MB, free: 3.586 MB / 350.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.123, allocations: 137.7 kB / 480.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1231, allocations: 11.91 kB / 480.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.1231, allocations: 20.66 kB / 480.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.1231, allocations: 3.984 kB / 480.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1231, allocations: 0 / 480.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1231, allocations: 4 kB / 480.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1234, allocations: 225.5 kB / 480.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1235, allocations: 8.031 kB / 480.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1236, allocations: 31.98 kB / 480.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.1237, allocations: 49.67 kB / 480.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1238, allocations: 7.938 kB / 480.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.1257, allocations: 2.982 MB / 483.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1257, allocations: 0 / 483.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.126, allocations: 370.7 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.1261, allocations: 85.02 kB / 484 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1261, allocations: 4 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1262, allocations: 12.08 kB / 484 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1263, allocations: 15.86 kB / 484 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1263, allocations: 7.938 kB / 484 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.1263, allocations: 110.2 kB / 484.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1263, allocations: 0 / 484.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.1268, allocations: 55.91 kB / 484.2 MB, free: 15.09 MB / 366.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.0001347/0.1269, allocations: 91.25 kB / 484.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1274, allocations: 357.6 kB / 484.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1274, allocations: 0 / 484.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.1277, allocations: 285.2 kB / 484.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.1282, allocations: 28.11 kB / 485 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.1292, allocations: 0.643 MB / 485.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1295, allocations: 0.7203 MB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.1295, allocations: 13.42 kB / 486.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.1295, allocations: 11.44 kB / 486.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1296, allocations: 0 / 486.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.004366/0.1339, allocations: 1.92 MB / 488.3 MB, free: 10.93 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches