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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 115.8 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 75.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3019, allocations: 62.44 MB / 0.5316 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003236/0.3052, allocations: 1.87 MB / 0.5335 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004396/0.3057, allocations: 153.1 kB / 0.5336 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3058, allocations: 5.781 kB / 0.5336 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.843e-05/0.3059, allocations: 19.36 kB / 0.5336 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3061, allocations: 52.92 kB / 0.5337 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3063, allocations: 39.48 kB / 0.5337 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.3065, allocations: 189.1 kB / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3067, allocations: 55.64 kB / 0.534 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3068, allocations: 75.34 kB / 0.534 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.307, allocations: 75.06 kB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.307, allocations: 15.12 kB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.307, allocations: 13.75 kB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.3071, allocations: 35.98 kB / 0.5342 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.505e-05/0.3072, allocations: 87.22 kB / 0.5342 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3074, allocations: 174.8 kB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3074, allocations: 0 / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3074, allocations: 1.375 kB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.3074, allocations: 0 / 0.5344 GB, free: 11.68 MB / 398.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.0006127/0.308, allocations: 448.9 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3081, allocations: 9.625 kB / 0.5349 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.3082, allocations: 17 kB / 0.5349 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3084, allocations: 224.4 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3084, allocations: 11.58 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3085, allocations: 23.22 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3088, allocations: 168.2 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3088, allocations: 2.188 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3088, allocations: 13.09 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3088, allocations: 4.562 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.309, allocations: 83.17 kB / 0.5354 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.3098, allocations: 0.6021 MB / 0.536 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3101, allocations: 130.9 kB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.3101, allocations: 55.19 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.3102, allocations: 1.781 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3102, allocations: 40.84 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.3102, allocations: 0 / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007831/0.311, allocations: 383.7 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3111, allocations: 79.39 kB / 0.5366 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3112, allocations: 139.6 kB / 0.5368 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3112, allocations: 25.7 kB / 0.5368 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.3113, allocations: 132.2 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3113, allocations: 53.33 kB / 0.537 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.3114, allocations: 34.84 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3115, allocations: 322.5 kB / 0.5373 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.3116, allocations: 39.03 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3117, allocations: 107.5 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.3119, allocations: 151.6 kB / 0.5376 GB, free: 8.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3119, allocations: 1.125 kB / 0.5376 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003738/0.3123, allocations: 230.7 kB / 0.5378 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3123, allocations: 10.75 kB / 0.5378 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3123, allocations: 1.281 kB / 0.5378 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.3125, allocations: 49.98 kB / 0.5379 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3127, allocations: 32.23 kB / 0.5379 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.3148, allocations: 2.99 MB / 0.5408 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.3149, allocations: 16.66 kB / 0.5408 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3149, allocations: 7.406 kB / 0.5408 GB, free: 5.426 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.0001159/0.3151, allocations: 146 kB / 0.541 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.3151, allocations: 13.36 kB / 0.541 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.3152, allocations: 18.56 kB / 0.541 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3152, allocations: 5.062 kB / 0.541 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3152, allocations: 5 kB / 0.541 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3152, allocations: 92.11 kB / 0.5411 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3153, allocations: 6.172 kB / 0.5411 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3154, allocations: 4 kB / 0.5411 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.3154, allocations: 14.55 kB / 0.5411 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005622/0.316, allocations: 356 kB / 0.5415 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003454/0.3163, allocations: 437.6 kB / 0.5419 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.461e-05/0.3164, allocations: 38.02 kB / 0.5419 GB, free: 4.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.142e-05/0.3165, allocations: 103.2 kB / 0.542 GB, free: 4.387 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3165, allocations: 0 / 0.542 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.3173, allocations: 396.6 kB / 0.5424 GB, free: 4.039 MB / 398.1 MB Notification: Performance of SimCode: time 0.001277/0.3186, allocations: 1.137 MB / 0.5435 GB, free: 3.02 MB / 398.1 MB Notification: Performance of Templates: time 0.005033/0.3236, allocations: 1.975 MB / 0.5454 GB, free: 2.023 MB / 398.1 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/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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches