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.001363/0.001363, allocations: 104.2 kB / 18.45 MB, free: 4.625 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.001351/0.001351, allocations: 184.2 kB / 19.38 MB, free: 3.703 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.301/1.301, allocations: 222.9 MB / 243.1 MB, free: 15.19 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.2068, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3083, allocations: 60.83 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002375/0.3107, allocations: 1.854 MB / 0.5214 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002891/0.311, allocations: 148.8 kB / 0.5215 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.3111, allocations: 5.938 kB / 0.5215 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.801e-05/0.3112, allocations: 23.34 kB / 0.5215 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3113, allocations: 49.94 kB / 0.5216 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.3114, allocations: 39.42 kB / 0.5216 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3116, allocations: 188.2 kB / 0.5218 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3118, allocations: 56.78 kB / 0.5218 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.3119, allocations: 74.52 kB / 0.5219 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.312, allocations: 71.7 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.312, allocations: 13.34 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.312, allocations: 14.81 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.3121, allocations: 38.05 kB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.3121, allocations: 79.67 kB / 0.5221 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.3124, allocations: 181.3 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3124, allocations: 1 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3124, allocations: 4 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3124, allocations: 0 / 0.5223 GB, free: 1.777 MB / 382.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.0004643/0.3128, allocations: 448.9 kB / 0.5227 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3129, allocations: 9.031 kB / 0.5227 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3129, allocations: 18.2 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3131, allocations: 209.2 kB / 0.523 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3131, allocations: 14.77 kB / 0.523 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.3131, allocations: 20.17 kB / 0.523 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3134, allocations: 169.2 kB / 0.5231 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3134, allocations: 2.234 kB / 0.5231 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3134, allocations: 13.25 kB / 0.5232 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3134, allocations: 3.969 kB / 0.5232 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3136, allocations: 88.31 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.3143, allocations: 0.6035 MB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3144, allocations: 138.5 kB / 0.524 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.3145, allocations: 48.52 kB / 0.524 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3145, allocations: 12.59 kB / 0.524 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3146, allocations: 39.27 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3146, allocations: 0 / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006555/0.3152, allocations: 377.7 kB / 0.5244 GB, free: 20 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.3153, allocations: 79.02 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3154, allocations: 132.6 kB / 0.5246 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3154, allocations: 27.83 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.3155, allocations: 133.5 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.3155, allocations: 58.58 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.3156, allocations: 37.39 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3157, allocations: 325.1 kB / 0.5252 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.3158, allocations: 36.47 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3159, allocations: 103.7 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3161, allocations: 153.7 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3161, allocations: 1.438 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003498/0.3164, allocations: 233.1 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3165, allocations: 8.75 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3165, allocations: 2.031 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.3167, allocations: 57.3 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3168, allocations: 36.12 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.3188, allocations: 2.983 MB / 0.5287 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.3189, allocations: 19.81 kB / 0.5287 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3189, allocations: 10.03 kB / 0.5287 GB, free: 11.84 MB / 398.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.0001038/0.319, allocations: 129 kB / 0.5289 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3191, allocations: 15.27 kB / 0.5289 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.3191, allocations: 19.7 kB / 0.5289 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3191, allocations: 1.688 kB / 0.5289 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3191, allocations: 1.719 kB / 0.5289 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3191, allocations: 2.875 kB / 0.5289 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3194, allocations: 236.3 kB / 0.5291 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3194, allocations: 3.938 kB / 0.5291 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3196, allocations: 25.52 kB / 0.5291 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.3197, allocations: 54.47 kB / 0.5292 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3197, allocations: 5.922 kB / 0.5292 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.3216, allocations: 2.974 MB / 0.5321 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3216, allocations: 5.312 kB / 0.5321 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.3219, allocations: 378.6 kB / 0.5325 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.322, allocations: 84.77 kB / 0.5326 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.322, allocations: 10.27 kB / 0.5326 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3221, allocations: 9.562 kB / 0.5326 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.3222, allocations: 10.02 kB / 0.5326 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3222, allocations: 11.41 kB / 0.5326 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.339e-05/0.3222, allocations: 99.05 kB / 0.5327 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3223, allocations: 1.281 kB / 0.5327 GB, free: 7.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.3227, allocations: 58.34 kB / 0.5327 GB, free: 7.91 MB / 398.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 8.918e-05/0.3228, allocations: 97.67 kB / 0.5328 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.3233, allocations: 348.8 kB / 0.5332 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3233, allocations: 1.438 kB / 0.5332 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.3236, allocations: 290.7 kB / 0.5334 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.324, allocations: 47.89 kB / 0.5335 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.325, allocations: 0.6486 MB / 0.5341 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3252, allocations: 0.7223 MB / 0.5348 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3253, allocations: 13.97 kB / 0.5348 GB, free: 6.059 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3253, allocations: 4 kB / 0.5348 GB, free: 6.055 MB / 398.1 MB Notification: Performance of Templates: time 0.004539/0.3298, allocations: 3.138 MB / 0.5379 GB, free: 4.477 MB / 398.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 -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