Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009095/0.0009094, allocations: 86.16 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2048/0.2048, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.702e-05, allocations: 0 / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/0.6211, allocations: 84.25 MB / 0.5482 GB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.6214, allocations: 64.34 kB / 0.5483 GB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005642/0.6271, allocations: 2.595 MB / 0.5508 GB, free: 8.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6271, allocations: 4 kB / 0.5508 GB, free: 8.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.6271, allocations: 0 / 0.5508 GB, free: 8.082 MB / 362.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.000378/0.6275, allocations: 412.6 kB / 0.5512 GB, free: 7.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6275, allocations: 12.03 kB / 0.5512 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.6276, allocations: 15.81 kB / 0.5512 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.6278, allocations: 182.7 kB / 0.5514 GB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.6278, allocations: 11.98 kB / 0.5514 GB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.6279, allocations: 11.91 kB / 0.5514 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001674/0.6281, allocations: 73.27 kB / 0.5515 GB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.6283, allocations: 146.2 kB / 0.5516 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.6283, allocations: 0 / 0.5516 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.6283, allocations: 3.938 kB / 0.5516 GB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6284, allocations: 4 kB / 0.5516 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.6291, allocations: 0.567 MB / 0.5522 GB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.6293, allocations: 114.7 kB / 0.5523 GB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.6293, allocations: 44.47 kB / 0.5523 GB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.6294, allocations: 11.98 kB / 0.5524 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.6294, allocations: 38.67 kB / 0.5524 GB, free: 6.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.6294, allocations: 0 / 0.5524 GB, free: 6.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000366/0.6298, allocations: 139.2 kB / 0.5525 GB, free: 6.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.6298, allocations: 84.36 kB / 0.5526 GB, free: 6.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.6299, allocations: 117.3 kB / 0.5527 GB, free: 6.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.6299, allocations: 29.7 kB / 0.5527 GB, free: 6.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.63, allocations: 126.7 kB / 0.5529 GB, free: 5.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.6301, allocations: 62.5 kB / 0.5529 GB, free: 5.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6301, allocations: 0 / 0.5529 GB, free: 5.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.6301, allocations: 322.4 kB / 0.5532 GB, free: 5.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.6302, allocations: 33.92 kB / 0.5533 GB, free: 5.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.6303, allocations: 98.08 kB / 0.5534 GB, free: 5.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/0.6304, allocations: 49.66 kB / 0.5534 GB, free: 5.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6304, allocations: 4 kB / 0.5534 GB, free: 5.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002687/0.6307, allocations: 189.9 kB / 0.5536 GB, free: 5.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6307, allocations: 8 kB / 0.5536 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6307, allocations: 0 / 0.5536 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.6309, allocations: 52.58 kB / 0.5536 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.6311, allocations: 39.86 kB / 0.5537 GB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.6324, allocations: 2.601 MB / 0.5562 GB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.6325, allocations: 19.81 kB / 0.5562 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6325, allocations: 11.88 kB / 0.5563 GB, free: 2.406 MB / 362.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 () * 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 7.026e-05/0.6326, allocations: 108.9 kB / 0.5564 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.6327, allocations: 11.91 kB / 0.5564 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.6327, allocations: 16.31 kB / 0.5564 GB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6327, allocations: 4 kB / 0.5564 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6327, allocations: 3.953 kB / 0.5564 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6327, allocations: 4.188 kB / 0.5564 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.6329, allocations: 193.2 kB / 0.5566 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.633, allocations: 3.938 kB / 0.5566 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.6331, allocations: 27.98 kB / 0.5566 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.6332, allocations: 41.02 kB / 0.5567 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6332, allocations: 7.938 kB / 0.5567 GB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.6349, allocations: 2.61 MB / 0.5592 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6349, allocations: 0 / 0.5592 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.6353, allocations: 372 kB / 0.5596 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.6354, allocations: 85.02 kB / 0.5596 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.6354, allocations: 4 kB / 0.5596 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.6355, allocations: 3.609 kB / 0.5597 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.6356, allocations: 15.72 kB / 0.5597 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.6356, allocations: 4 kB / 0.5597 GB, free: 14.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.086e-05/0.6356, allocations: 95.16 kB / 0.5598 GB, free: 14.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6357, allocations: 4 kB / 0.5598 GB, free: 14.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.6361, allocations: 55.8 kB / 0.5598 GB, free: 14.64 MB / 378.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 () * 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.0001787/0.6363, allocations: 95.23 kB / 0.5599 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.6368, allocations: 318.4 kB / 0.5602 GB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6368, allocations: 4.062 kB / 0.5602 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.6371, allocations: 266.2 kB / 0.5605 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.6375, allocations: 22.45 kB / 0.5605 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.6385, allocations: 0.568 MB / 0.561 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6388, allocations: 0.7321 MB / 0.5618 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.6389, allocations: 9.203 kB / 0.5618 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.6389, allocations: 15.81 kB / 0.5618 GB, free: 12.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6389, allocations: 0 / 0.5618 GB, free: 12.6 MB / 378.7 MB Notification: Performance of Templates: time 0.004495/0.6434, allocations: 1.706 MB / 0.5634 GB, free: 10.92 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches