Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 198.7 kB / 17.08 MB, free: 5.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008181/0.0008181, allocations: 100.9 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3297/0.3297, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.000271, allocations: 12 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3088, allocations: 63.24 MB / 0.5192 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.4118, allocations: 87.23 MB / 0.6044 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.412, allocations: 63.97 kB / 0.6044 GB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00638/0.4184, allocations: 2.682 MB / 0.607 GB, free: 13.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4184, allocations: 0 / 0.607 GB, free: 13.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.4185, allocations: 7.938 kB / 0.6071 GB, free: 13.48 MB / 426.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.0004163/0.4189, allocations: 411.2 kB / 0.6074 GB, free: 13.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.4189, allocations: 12.03 kB / 0.6075 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.419, allocations: 19.72 kB / 0.6075 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.4191, allocations: 182.8 kB / 0.6077 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4191, allocations: 16.33 kB / 0.6077 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4192, allocations: 16 kB / 0.6077 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.4194, allocations: 165.6 kB / 0.6078 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.4194, allocations: 3.906 kB / 0.6078 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.4195, allocations: 8 kB / 0.6079 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4195, allocations: 4 kB / 0.6079 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.4196, allocations: 95.86 kB / 0.6079 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.4204, allocations: 0.6228 MB / 0.6086 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4206, allocations: 133.2 kB / 0.6087 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.4206, allocations: 0 / 0.6087 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4206, allocations: 35.69 kB / 0.6087 GB, free: 11.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.001e-06/0.4206, allocations: 0 / 0.6087 GB, free: 11.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007438/0.4214, allocations: 381.7 kB / 0.6091 GB, free: 11.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4214, allocations: 89.05 kB / 0.6092 GB, free: 11.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.4215, allocations: 123.4 kB / 0.6093 GB, free: 10.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4215, allocations: 25.7 kB / 0.6093 GB, free: 10.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.4216, allocations: 132 kB / 0.6094 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.4216, allocations: 55.2 kB / 0.6095 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.4216, allocations: 4 kB / 0.6095 GB, free: 10.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.4217, allocations: 322.8 kB / 0.6098 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.4218, allocations: 35.98 kB / 0.6098 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.4219, allocations: 105.4 kB / 0.6099 GB, free: 10.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.422, allocations: 51.94 kB / 0.61 GB, free: 10.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.422, allocations: 4 kB / 0.61 GB, free: 10.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000324/0.4223, allocations: 211 kB / 0.6102 GB, free: 9.949 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4224, allocations: 10.81 kB / 0.6102 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.4224, allocations: 8.156 kB / 0.6102 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.4226, allocations: 57.88 kB / 0.6103 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4227, allocations: 35.98 kB / 0.6103 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.4244, allocations: 2.727 MB / 0.613 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.4245, allocations: 19.88 kB / 0.613 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4245, allocations: 4 kB / 0.613 GB, free: 6.816 MB / 426.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 9.59e-05/0.4246, allocations: 134 kB / 0.6131 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.4247, allocations: 19.77 kB / 0.6131 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.4247, allocations: 20.7 kB / 0.6131 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4247, allocations: 4.172 kB / 0.6131 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4248, allocations: 4 kB / 0.6132 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4248, allocations: 4 kB / 0.6132 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.425, allocations: 221.6 kB / 0.6134 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.425, allocations: 0 / 0.6134 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.4252, allocations: 35.92 kB / 0.6134 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.4253, allocations: 45.88 kB / 0.6134 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4253, allocations: 3.953 kB / 0.6135 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.427, allocations: 2.744 MB / 0.6161 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.427, allocations: 0 / 0.6161 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.4273, allocations: 382.2 kB / 0.6165 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.4274, allocations: 88.97 kB / 0.6166 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.4274, allocations: 0 / 0.6166 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.4275, allocations: 4.062 kB / 0.6166 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.4276, allocations: 11.98 kB / 0.6166 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4276, allocations: 15.98 kB / 0.6166 GB, free: 2.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.4276, allocations: 101.2 kB / 0.6167 GB, free: 2.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4276, allocations: 0 / 0.6167 GB, free: 2.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.428, allocations: 59.84 kB / 0.6168 GB, free: 2.562 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,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.0001193/0.4282, allocations: 96.41 kB / 0.6169 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.4286, allocations: 353.4 kB / 0.6172 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4286, allocations: 0 / 0.6172 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.4289, allocations: 285.2 kB / 0.6175 GB, free: 1.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4293, allocations: 28.17 kB / 0.6175 GB, free: 1.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.4302, allocations: 0.7819 MB / 0.6183 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4305, allocations: 0.7281 MB / 0.619 GB, free: 192 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.4305, allocations: 9.422 kB / 0.619 GB, free: 180 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.4305, allocations: 15.81 kB / 0.619 GB, free: 164 kB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4305, allocations: 4 kB / 0.619 GB, free: 160 kB / 426.7 MB Notification: Performance of Templates: time 0.004399/0.4349, allocations: 1.766 MB / 0.6207 GB, free: 14.4 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches