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.001735/0.001735, allocations: 117.7 kB / 18.51 MB, free: 4.562 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.00192/0.00192, allocations: 193.9 kB / 19.44 MB, free: 3.633 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.404/1.404, allocations: 225.6 MB / 245.8 MB, free: 14.03 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.2162/0.2162, allocations: 44.92 MB / 343.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 484.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 64.26 MB / 0.5357 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00306/0.3148, allocations: 1.861 MB / 0.5375 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000364/0.3151, allocations: 151.8 kB / 0.5376 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.3152, allocations: 2.438 kB / 0.5376 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.594e-05/0.3153, allocations: 22.08 kB / 0.5377 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.3154, allocations: 50.62 kB / 0.5377 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3156, allocations: 39.66 kB / 0.5377 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.3158, allocations: 188.5 kB / 0.5379 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.316, allocations: 45.84 kB / 0.538 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3161, allocations: 75.62 kB / 0.538 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3163, allocations: 72.48 kB / 0.5381 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.3163, allocations: 13.03 kB / 0.5381 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.25e-05/0.3163, allocations: 13.47 kB / 0.5381 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.3164, allocations: 38.38 kB / 0.5382 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3165, allocations: 77.73 kB / 0.5382 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3168, allocations: 185.1 kB / 0.5384 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3168, allocations: 0 / 0.5384 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3168, allocations: 2.188 kB / 0.5384 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3168, allocations: 4 kB / 0.5384 GB, free: 10.62 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.0006671/0.3174, allocations: 460.3 kB / 0.5389 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3175, allocations: 8.281 kB / 0.5389 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.3175, allocations: 18.12 kB / 0.5389 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3178, allocations: 199.6 kB / 0.5391 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.3178, allocations: 15.52 kB / 0.5391 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.3178, allocations: 16.5 kB / 0.5391 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.3181, allocations: 167.9 kB / 0.5393 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3181, allocations: 5.516 kB / 0.5393 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3182, allocations: 14.69 kB / 0.5393 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3182, allocations: 4.125 kB / 0.5393 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3183, allocations: 89.88 kB / 0.5394 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008791/0.3192, allocations: 0.607 MB / 0.54 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3194, allocations: 122 kB / 0.5401 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.3195, allocations: 54.27 kB / 0.5401 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3195, allocations: 5.125 kB / 0.5401 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3196, allocations: 32.06 kB / 0.5402 GB, free: 9.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.3196, allocations: 4 kB / 0.5402 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000861/0.3204, allocations: 384 kB / 0.5405 GB, free: 8.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3205, allocations: 82.17 kB / 0.5406 GB, free: 8.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3206, allocations: 129.5 kB / 0.5407 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3206, allocations: 30.77 kB / 0.5408 GB, free: 8.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.3207, allocations: 126.9 kB / 0.5409 GB, free: 8.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.3208, allocations: 62.25 kB / 0.541 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.3208, allocations: 38.81 kB / 0.541 GB, free: 8.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.321, allocations: 322.4 kB / 0.5413 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.3211, allocations: 43.33 kB / 0.5413 GB, free: 7.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3212, allocations: 108 kB / 0.5414 GB, free: 7.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3214, allocations: 151.3 kB / 0.5416 GB, free: 7.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3214, allocations: 1.406 kB / 0.5416 GB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003792/0.3218, allocations: 228.7 kB / 0.5418 GB, free: 7.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3218, allocations: 5.906 kB / 0.5418 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3218, allocations: 2.219 kB / 0.5418 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.3221, allocations: 50.22 kB / 0.5419 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3222, allocations: 40.61 kB / 0.5419 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.3247, allocations: 2.992 MB / 0.5448 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.3248, allocations: 16.3 kB / 0.5448 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3248, allocations: 7.625 kB / 0.5448 GB, free: 4.355 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.0001291/0.3249, allocations: 129.3 kB / 0.545 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.325, allocations: 10.45 kB / 0.545 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.325, allocations: 22.92 kB / 0.545 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.325, allocations: 4.906 kB / 0.545 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.325, allocations: 0 / 0.545 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.159e-05/0.3251, allocations: 88.23 kB / 0.5451 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3251, allocations: 6.156 kB / 0.5451 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3252, allocations: 9.031 kB / 0.5451 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.3252, allocations: 14.41 kB / 0.5451 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006495/0.3259, allocations: 359.6 kB / 0.5455 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004481/0.3263, allocations: 439.4 kB / 0.5459 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.393e-05/0.3264, allocations: 40.75 kB / 0.5459 GB, free: 3.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.168e-05/0.3265, allocations: 103.1 kB / 0.546 GB, free: 3.312 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3265, allocations: 0 / 0.546 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009048/0.3274, allocations: 389.1 kB / 0.5464 GB, free: 2.969 MB / 398.1 MB Notification: Performance of SimCode: time 0.001562/0.329, allocations: 1.132 MB / 0.5475 GB, free: 1.957 MB / 398.1 MB Notification: Performance of Templates: time 0.005621/0.3346, allocations: 1.962 MB / 0.5494 GB, free: 0.9766 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