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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.9 MB / 353.5 MB, free: 11.85 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.89 kB / 497.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4425, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003735/0.4463, allocations: 1.864 MB / 0.5506 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.4467, allocations: 151.2 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.4468, allocations: 3.406 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.888e-05/0.4469, allocations: 18.08 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.447, allocations: 58.27 kB / 0.5508 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.4472, allocations: 47.41 kB / 0.5509 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.4475, allocations: 192.9 kB / 0.5511 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.4476, allocations: 34.61 kB / 0.5511 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4478, allocations: 76.61 kB / 0.5512 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.4479, allocations: 66.8 kB / 0.5512 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.4479, allocations: 13.88 kB / 0.5513 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.448, allocations: 13.97 kB / 0.5513 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.448, allocations: 37.48 kB / 0.5513 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4481, allocations: 86.42 kB / 0.5514 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.4484, allocations: 179.5 kB / 0.5516 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4484, allocations: 4 kB / 0.5516 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4484, allocations: 0 / 0.5516 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.4484, allocations: 1.406 kB / 0.5516 GB, free: 11.03 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.0006669/0.4491, allocations: 384.2 kB / 0.5519 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4491, allocations: 9.484 kB / 0.5519 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.4492, allocations: 18.19 kB / 0.552 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.4494, allocations: 146.9 kB / 0.5521 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4495, allocations: 15.3 kB / 0.5521 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.4495, allocations: 19.34 kB / 0.5521 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.4498, allocations: 168.4 kB / 0.5523 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4499, allocations: 5.203 kB / 0.5523 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.4499, allocations: 14.22 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4499, allocations: 4.625 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.4501, allocations: 90.09 kB / 0.5524 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.451, allocations: 0.544 MB / 0.5529 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.4512, allocations: 132.8 kB / 0.5531 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.4513, allocations: 51.02 kB / 0.5531 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.4513, allocations: 1.188 kB / 0.5531 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.4514, allocations: 35.75 kB / 0.5531 GB, free: 9.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.4514, allocations: 0 / 0.5531 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008087/0.4522, allocations: 230.5 kB / 0.5534 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.4522, allocations: 79.08 kB / 0.5534 GB, free: 9.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4524, allocations: 125.9 kB / 0.5536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.4524, allocations: 35.2 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.4525, allocations: 127.6 kB / 0.5537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.4526, allocations: 65.25 kB / 0.5538 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.4526, allocations: 35.5 kB / 0.5538 GB, free: 9.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4528, allocations: 329.3 kB / 0.5541 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.4529, allocations: 35.52 kB / 0.5542 GB, free: 8.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.453, allocations: 103.7 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.4532, allocations: 155.1 kB / 0.5544 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4532, allocations: 5.094 kB / 0.5544 GB, free: 8.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004069/0.4536, allocations: 225 kB / 0.5546 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4537, allocations: 7.094 kB / 0.5546 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4537, allocations: 6.234 kB / 0.5546 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.4539, allocations: 50.52 kB / 0.5547 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4541, allocations: 35.7 kB / 0.5547 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.4566, allocations: 2.795 MB / 0.5574 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.4567, allocations: 16.48 kB / 0.5575 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.4567, allocations: 10.97 kB / 0.5575 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.0001451/0.4568, allocations: 127.8 kB / 0.5576 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.4569, allocations: 13.39 kB / 0.5576 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.4569, allocations: 20 kB / 0.5576 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4569, allocations: 5.047 kB / 0.5576 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4569, allocations: 2.094 kB / 0.5576 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4569, allocations: 1.188 kB / 0.5576 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.4573, allocations: 203.1 kB / 0.5578 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4573, allocations: 0 / 0.5578 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.4574, allocations: 26.33 kB / 0.5579 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.4576, allocations: 54.59 kB / 0.5579 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4576, allocations: 14.25 kB / 0.5579 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.46, allocations: 2.777 MB / 0.5606 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.46, allocations: 1.094 kB / 0.5606 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.4605, allocations: 376.2 kB / 0.561 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.4605, allocations: 20.53 kB / 0.561 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.4605, allocations: 5.062 kB / 0.561 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4606, allocations: 9.125 kB / 0.561 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.4607, allocations: 12.75 kB / 0.561 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4607, allocations: 3.406 kB / 0.561 GB, free: 1.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.4608, allocations: 102.9 kB / 0.5611 GB, free: 1.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4608, allocations: 0 / 0.5611 GB, free: 1.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000492/0.4613, allocations: 50.7 kB / 0.5612 GB, free: 1.758 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 0.0001257/0.4614, allocations: 103.3 kB / 0.5613 GB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.462, allocations: 337.1 kB / 0.5616 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.462, allocations: 0.5 kB / 0.5616 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.4624, allocations: 294 kB / 0.5619 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.4631, allocations: 36.89 kB / 0.5619 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4644, allocations: 0.6388 MB / 0.5625 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4649, allocations: 0.7203 MB / 0.5632 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.4649, allocations: 13.8 kB / 0.5633 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.465, allocations: 15.44 kB / 0.5633 GB, free: 15.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.465, allocations: 0 / 0.5633 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Templates: time 0.006363/0.4713, allocations: 2.055 MB / 0.5653 GB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.416324786841869]