Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001341/0.001341, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001404/0.001404, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.589/1.589, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2432/0.2432, allocations: 46.93 MB / 361.6 MB, free: 4.262 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 63.91 kB / 0.4969 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 66.03 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004881/0.372, allocations: 2.875 MB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3737, allocations: 0.8062 MB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.3739, allocations: 15.94 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.3741, allocations: 63.31 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.3744, allocations: 130.9 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.3748, allocations: 119.8 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.3753, allocations: 450.4 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.3756, allocations: 144.6 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.3759, allocations: 183.3 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.3762, allocations: 191.2 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.3762, allocations: 36 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3763, allocations: 40 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.3764, allocations: 79.69 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.3766, allocations: 214.9 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.3772, allocations: 454 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3772, allocations: 0 / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3772, allocations: 0 / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3772, allocations: 4 kB / 0.567 GB, free: 14.67 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001112/0.3783, allocations: 0.6222 MB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.3784, allocations: 8.031 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.508e-05/0.3784, allocations: 13.19 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.3785, allocations: 78.7 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.3788, allocations: 72.62 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.3793, allocations: 229.7 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.3794, allocations: 33.36 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.3794, allocations: 44.38 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.3802, allocations: 384.9 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.3802, allocations: 7.938 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.3802, allocations: 16 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3802, allocations: 8 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.3808, allocations: 240.4 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.3826, allocations: 1.067 MB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.3832, allocations: 323.5 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.3836, allocations: 162.4 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3836, allocations: 4 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3836, allocations: 46.5 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.3836, allocations: 0 / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004122/0.3877, allocations: 2.009 MB / 0.5722 GB, free: 9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.3878, allocations: 110.8 kB / 0.5724 GB, free: 8.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.3882, allocations: 245.8 kB / 0.5726 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.3882, allocations: 37.7 kB / 0.5726 GB, free: 8.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3884, allocations: 184.9 kB / 0.5728 GB, free: 8.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.3886, allocations: 218.1 kB / 0.573 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.3887, allocations: 86.34 kB / 0.5731 GB, free: 8.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3889, allocations: 346.8 kB / 0.5734 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3892, allocations: 125.2 kB / 0.5735 GB, free: 7.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.3896, allocations: 232.8 kB / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.3903, allocations: 405.9 kB / 0.5741 GB, free: 6.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3903, allocations: 0 / 0.5741 GB, free: 6.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001093/0.3914, allocations: 0.5501 MB / 0.5747 GB, free: 6.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3914, allocations: 8 kB / 0.5747 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3914, allocations: 0 / 0.5747 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.3919, allocations: 126.5 kB / 0.5748 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3922, allocations: 95.92 kB / 0.5749 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/0.3972, allocations: 4.911 MB / 0.5797 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3975, allocations: 20 kB / 0.5797 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3975, allocations: 19.98 kB / 0.5797 GB, free: 0.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.3978, allocations: 177.7 kB / 0.5799 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3979, allocations: 39.77 kB / 0.5799 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.398, allocations: 46.11 kB / 0.58 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.398, allocations: 7.938 kB / 0.58 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.3981, allocations: 7.938 kB / 0.58 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3981, allocations: 3.984 kB / 0.58 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.4003, allocations: 1.292 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4003, allocations: 192 / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.4007, allocations: 99.88 kB / 0.5814 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.401, allocations: 98.44 kB / 0.5815 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.401, allocations: 12 kB / 0.5815 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.4049, allocations: 4.122 MB / 0.5855 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4049, allocations: 0 / 0.5855 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.4065, allocations: 0.9204 MB / 0.5864 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.4066, allocations: 39.81 kB / 0.5864 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.4066, allocations: 12 kB / 0.5864 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.4069, allocations: 12 kB / 0.5865 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.407, allocations: 51.78 kB / 0.5865 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.4071, allocations: 16 kB / 0.5865 GB, free: 9.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.4073, allocations: 185.2 kB / 0.5867 GB, free: 9.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4073, allocations: 0 / 0.5867 GB, free: 9.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007601/0.408, allocations: 116 kB / 0.5868 GB, free: 9.117 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.001888/0.4099, allocations: 1.478 MB / 0.5883 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.4115, allocations: 0.7621 MB / 0.589 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4115, allocations: 4.188 kB / 0.589 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.4124, allocations: 0.5568 MB / 0.5895 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.4132, allocations: 60.73 kB / 0.5896 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.4197, allocations: 4.18 MB / 0.5937 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.4203, allocations: 0.828 MB / 0.5945 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.4205, allocations: 39.25 kB / 0.5945 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.4207, allocations: 127.4 kB / 0.5946 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4207, allocations: 0 / 0.5946 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.4795, allocations: 8.842 MB / 0.6033 GB, free: 8.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.05, allocations: 8 kB / 0.6033 GB, free: 8.074 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 16.51360216998728]