Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009651/0.0009652, allocations: 202.1 kB / 17.43 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007746, allocations: 89.27 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.361/0.361, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3121, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001488/0.3136, allocations: 1.534 MB / 0.5229 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002524/0.3139, allocations: 150.5 kB / 0.523 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.3139, allocations: 6.812 kB / 0.523 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.314, allocations: 14.58 kB / 0.523 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3141, allocations: 44.02 kB / 0.5231 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.3142, allocations: 29.05 kB / 0.5231 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3144, allocations: 183.4 kB / 0.5233 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3145, allocations: 44.81 kB / 0.5233 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.3146, allocations: 62.67 kB / 0.5234 GB, free: 37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.3147, allocations: 71.17 kB / 0.5234 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.3147, allocations: 8.531 kB / 0.5235 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.3147, allocations: 6.062 kB / 0.5235 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.3148, allocations: 28 kB / 0.5235 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.3148, allocations: 98.89 kB / 0.5236 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.315, allocations: 177 kB / 0.5237 GB, free: 36.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.315, allocations: 0 / 0.5237 GB, free: 36.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.315, allocations: 4 kB / 0.5238 GB, free: 36.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.315, allocations: 0 / 0.5238 GB, free: 36.82 MB / 378.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.0004076/0.3154, allocations: 427.8 kB / 0.5242 GB, free: 36.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3155, allocations: 7.25 kB / 0.5242 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.3155, allocations: 19.16 kB / 0.5242 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3157, allocations: 205.3 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3157, allocations: 17.3 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.3157, allocations: 12.97 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.316, allocations: 168.6 kB / 0.5246 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.316, allocations: 2.719 kB / 0.5246 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.316, allocations: 11.94 kB / 0.5246 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.316, allocations: 5.938 kB / 0.5246 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3162, allocations: 84.77 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.3168, allocations: 0.6062 MB / 0.5253 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.317, allocations: 134.1 kB / 0.5254 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.371e-05/0.317, allocations: 56.53 kB / 0.5254 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.317, allocations: 0 / 0.5254 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3171, allocations: 40.77 kB / 0.5255 GB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.3171, allocations: 0 / 0.5255 GB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000646/0.3177, allocations: 391.2 kB / 0.5259 GB, free: 35.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.3178, allocations: 77.11 kB / 0.5259 GB, free: 34.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.3178, allocations: 140.6 kB / 0.5261 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.3179, allocations: 25.7 kB / 0.5261 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.3179, allocations: 130.9 kB / 0.5262 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3179, allocations: 52.23 kB / 0.5263 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.3179, allocations: 3.031 kB / 0.5263 GB, free: 34.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.318, allocations: 325.1 kB / 0.5266 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.3181, allocations: 39.64 kB / 0.5266 GB, free: 34.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.3181, allocations: 105.5 kB / 0.5267 GB, free: 34.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3183, allocations: 152 kB / 0.5269 GB, free: 34.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3183, allocations: 0 / 0.5269 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002817/0.3186, allocations: 226.3 kB / 0.5271 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3186, allocations: 5.719 kB / 0.5271 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3186, allocations: 2.656 kB / 0.5271 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.3188, allocations: 47.17 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3189, allocations: 40.19 kB / 0.5272 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.3202, allocations: 2.726 MB / 0.5298 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.3203, allocations: 13.53 kB / 0.5298 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3203, allocations: 9.438 kB / 0.5299 GB, free: 31.2 MB / 378.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 () * 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 8.007e-05/0.3204, allocations: 137.9 kB / 0.53 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3204, allocations: 9.406 kB / 0.53 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.3205, allocations: 15.72 kB / 0.53 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3205, allocations: 2.594 kB / 0.53 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3205, allocations: 2.594 kB / 0.53 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3205, allocations: 3.938 kB / 0.53 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3207, allocations: 247.9 kB / 0.5303 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3208, allocations: 0 / 0.5303 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3209, allocations: 25.33 kB / 0.5303 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.321, allocations: 48.16 kB / 0.5303 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.321, allocations: 7.031 kB / 0.5303 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.3222, allocations: 2.719 MB / 0.533 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3222, allocations: 0 / 0.533 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.3225, allocations: 368.2 kB / 0.5333 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.3226, allocations: 90.95 kB / 0.5334 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3226, allocations: 8.156 kB / 0.5334 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.3227, allocations: 10.59 kB / 0.5334 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.3227, allocations: 10.05 kB / 0.5334 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3227, allocations: 3 kB / 0.5335 GB, free: 27.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.922e-05/0.3228, allocations: 100.8 kB / 0.5335 GB, free: 27.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 3.938 kB / 0.5336 GB, free: 27.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.3232, allocations: 57.22 kB / 0.5336 GB, free: 27.53 MB / 378.7 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.103e-05/0.3233, allocations: 109.5 kB / 0.5337 GB, free: 27.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003959/0.3237, allocations: 335.4 kB / 0.534 GB, free: 27.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3237, allocations: 2.781 kB / 0.534 GB, free: 27.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3239, allocations: 291.2 kB / 0.5343 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3243, allocations: 31.8 kB / 0.5343 GB, free: 26.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.3252, allocations: 0.7995 MB / 0.5351 GB, free: 26.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3253, allocations: 0.726 MB / 0.5358 GB, free: 25.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.3254, allocations: 13.8 kB / 0.5358 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.3254, allocations: 13.25 kB / 0.5359 GB, free: 25.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3254, allocations: 6.875 kB / 0.5359 GB, free: 25.6 MB / 378.7 MB Notification: Performance of Templates: time 0.00377/0.3292, allocations: 1.818 MB / 0.5376 GB, free: 25.45 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches