Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 120 kB / 18.46 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 212.3 kB / 21.42 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 0.4921 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 66 MB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003075/0.1351, allocations: 1.676 MB / 0.5581 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.1354, allocations: 103.7 kB / 0.5582 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.1355, allocations: 3.938 kB / 0.5582 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.285e-05/0.1355, allocations: 15.86 kB / 0.5583 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1357, allocations: 43.69 kB / 0.5583 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.1358, allocations: 27.92 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1359, allocations: 119.5 kB / 0.5584 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1361, allocations: 33.09 kB / 0.5585 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.1362, allocations: 51.8 kB / 0.5585 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.1362, allocations: 47.78 kB / 0.5586 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.1363, allocations: 8 kB / 0.5586 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.1363, allocations: 12 kB / 0.5586 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.1363, allocations: 23.91 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.1364, allocations: 63.73 kB / 0.5587 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1366, allocations: 115.5 kB / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1366, allocations: 0 / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1366, allocations: 4 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1366, allocations: 0 / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005581/0.1372, allocations: 415.1 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1372, allocations: 8.031 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1373, allocations: 12.89 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1375, allocations: 192.2 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1375, allocations: 16.55 kB / 0.5594 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.1375, allocations: 12.38 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1378, allocations: 127.8 kB / 0.5595 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1378, allocations: 8.141 kB / 0.5595 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1378, allocations: 7.938 kB / 0.5595 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1378, allocations: 7.938 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1379, allocations: 59.95 kB / 0.5596 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.1388, allocations: 0.5412 MB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1389, allocations: 85.16 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.139, allocations: 21.72 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.139, allocations: 7.938 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.139, allocations: 34.56 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.139, allocations: 0 / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006244/0.1396, allocations: 305.5 kB / 0.5606 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.1397, allocations: 81.05 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1398, allocations: 129.7 kB / 0.5608 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1398, allocations: 25.7 kB / 0.5608 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.1399, allocations: 127.8 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.14, allocations: 27.75 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.14, allocations: 29.7 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1402, allocations: 326.8 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1402, allocations: 20 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1403, allocations: 84.58 kB / 0.5614 GB, free: 44 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1405, allocations: 120.5 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1405, allocations: 4 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002912/0.1408, allocations: 171 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1408, allocations: 8 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1408, allocations: 0 / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.141, allocations: 45.58 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.1411, allocations: 23.98 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.1434, allocations: 2.732 MB / 0.5644 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.1434, allocations: 20.05 kB / 0.5644 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.1435, allocations: 4 kB / 0.5644 GB, free: 12.59 MB / 430.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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.1436, allocations: 128 kB / 0.5646 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.1436, allocations: 7.984 kB / 0.5646 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1437, allocations: 11.84 kB / 0.5646 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1437, allocations: 4 kB / 0.5646 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1437, allocations: 0 / 0.5646 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1437, allocations: 7.938 kB / 0.5646 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.144, allocations: 205.5 kB / 0.5648 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.144, allocations: 0 / 0.5648 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.1441, allocations: 15.94 kB / 0.5648 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.1442, allocations: 33.7 kB / 0.5648 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1442, allocations: 11.94 kB / 0.5648 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.1463, allocations: 2.738 MB / 0.5675 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1463, allocations: 0 / 0.5675 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1467, allocations: 308.5 kB / 0.5678 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1467, allocations: 81.11 kB / 0.5679 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1467, allocations: 4 kB / 0.5679 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1468, allocations: 0 / 0.5679 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1469, allocations: 8.031 kB / 0.5679 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1469, allocations: 4 kB / 0.5679 GB, free: 8.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.147, allocations: 99.27 kB / 0.568 GB, free: 8.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.147, allocations: 0 / 0.568 GB, free: 8.555 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.1473, allocations: 43.89 kB / 0.568 GB, free: 8.512 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.1474, allocations: 92.19 kB / 0.5681 GB, free: 8.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.148, allocations: 309.8 kB / 0.5684 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.148, allocations: 0 / 0.5684 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1483, allocations: 261.2 kB / 0.5687 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.1487, allocations: 28.05 kB / 0.5687 GB, free: 7.777 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008421/0.1496, allocations: 494.3 kB / 0.5692 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.15, allocations: 0.7044 MB / 0.5699 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.15, allocations: 11.44 kB / 0.5699 GB, free: 6.52 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.15, allocations: 4 kB / 0.5699 GB, free: 6.516 MB / 430.1 MB Notification: Performance of Templates: time 0.004765/0.1548, allocations: 2.46 MB / 0.5723 GB, free: 4.055 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 8.29047815100057]