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.001203/0.001203, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, 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.198/0.198, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002723/0.2959, allocations: 1.873 MB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003033/0.2962, allocations: 148.6 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.2963, allocations: 2.156 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.097e-05/0.2963, allocations: 26.12 kB / 0.5336 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2965, allocations: 54.33 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.2966, allocations: 31.72 kB / 0.5337 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2968, allocations: 192.5 kB / 0.5339 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2969, allocations: 64.88 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.297, allocations: 63.33 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2972, allocations: 75.69 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.2972, allocations: 13 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.2972, allocations: 14.97 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.2973, allocations: 39.66 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.2973, allocations: 83.39 kB / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2975, allocations: 178.9 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2976, allocations: 4 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2976, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2976, allocations: 0 / 0.5344 GB, free: 11.46 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.0004983/0.2981, allocations: 453.5 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2981, allocations: 9.625 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.2982, allocations: 22.36 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2983, allocations: 203.1 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2984, allocations: 11.58 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.2984, allocations: 27.22 kB / 0.5351 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.2987, allocations: 169.3 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2987, allocations: 5.5 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2987, allocations: 9.312 kB / 0.5353 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2987, allocations: 4.125 kB / 0.5353 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2989, allocations: 86.7 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.2996, allocations: 0.6037 MB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.2998, allocations: 137.9 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.2998, allocations: 52.45 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2999, allocations: 1.094 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2999, allocations: 32.72 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2999, allocations: 4 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006853/0.3006, allocations: 375.9 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3006, allocations: 87.95 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3007, allocations: 137 kB / 0.5367 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3008, allocations: 26.86 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.3008, allocations: 127.9 kB / 0.5369 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.3009, allocations: 53.77 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3009, allocations: 43.27 kB / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.301, allocations: 321 kB / 0.5373 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.3011, allocations: 35.73 kB / 0.5373 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.3012, allocations: 104.7 kB / 0.5374 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3014, allocations: 158.9 kB / 0.5376 GB, free: 8.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3014, allocations: 1.094 kB / 0.5376 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003294/0.3017, allocations: 226.4 kB / 0.5378 GB, free: 8.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3017, allocations: 6.25 kB / 0.5378 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3017, allocations: 2.062 kB / 0.5378 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.302, allocations: 49.84 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3021, allocations: 43.58 kB / 0.5379 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.304, allocations: 2.984 MB / 0.5408 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.3041, allocations: 11.88 kB / 0.5408 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3041, allocations: 15.55 kB / 0.5408 GB, free: 5.203 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.0001005/0.3042, allocations: 134 kB / 0.541 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.3042, allocations: 9 kB / 0.541 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.3043, allocations: 19.19 kB / 0.541 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3043, allocations: 10.88 kB / 0.541 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3043, allocations: 1.344 kB / 0.541 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3043, allocations: 0 / 0.541 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.3046, allocations: 239.4 kB / 0.5412 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3046, allocations: 0.875 kB / 0.5412 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.3047, allocations: 25.77 kB / 0.5413 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.3049, allocations: 55.3 kB / 0.5413 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3049, allocations: 12.94 kB / 0.5413 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.3066, allocations: 2.979 MB / 0.5442 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3066, allocations: 0 / 0.5442 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.307, allocations: 388.1 kB / 0.5446 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.3071, allocations: 88.08 kB / 0.5447 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3071, allocations: 2.125 kB / 0.5447 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.3072, allocations: 13.16 kB / 0.5447 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.3072, allocations: 9.266 kB / 0.5447 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.3072, allocations: 3.219 kB / 0.5447 GB, free: 1.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.3073, allocations: 107.1 kB / 0.5448 GB, free: 1.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3073, allocations: 0 / 0.5448 GB, free: 1.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.3077, allocations: 54.31 kB / 0.5449 GB, free: 1.141 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 9.572e-05/0.3078, allocations: 99.66 kB / 0.545 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.3083, allocations: 345.7 kB / 0.5453 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3083, allocations: 0 / 0.5453 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3086, allocations: 291.6 kB / 0.5456 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.309, allocations: 31.89 kB / 0.5456 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.3099, allocations: 0.6707 MB / 0.5462 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3102, allocations: 0.7225 MB / 0.547 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.3102, allocations: 14.31 kB / 0.547 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3102, allocations: 0 / 0.547 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Templates: time 0.004688/0.3149, allocations: 3.138 MB / 0.55 GB, free: 13.55 MB / 414.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