Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001928/0.001928, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002369/0.002369, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2393/0.2393, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3417, allocations: 66.03 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005084/0.3468, allocations: 3.309 MB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3489, allocations: 0.8451 MB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.3492, allocations: 15.88 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3494, allocations: 71.25 kB / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.3498, allocations: 182.5 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.3501, allocations: 107.9 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.3507, allocations: 0.5946 MB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.351, allocations: 125.8 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.3513, allocations: 227.3 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.3516, allocations: 238.9 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.3517, allocations: 44 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.3518, allocations: 48 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.3519, allocations: 111.6 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3521, allocations: 266.7 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.3528, allocations: 0.5543 MB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3528, allocations: 0 / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3528, allocations: 4 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3528, allocations: 0 / 0.5672 GB, free: 13.74 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001276/0.3541, allocations: 0.7037 MB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.3542, allocations: 8.031 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.3543, allocations: 86.7 kB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3544, allocations: 64.55 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.3549, allocations: 264.7 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.355, allocations: 41.38 kB / 0.5683 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.355, allocations: 52.33 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.3557, allocations: 438.7 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.3558, allocations: 11.95 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.3558, allocations: 16 kB / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.3558, allocations: 12 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3563, allocations: 316.4 kB / 0.5691 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.3581, allocations: 1.1 MB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.3588, allocations: 380 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3591, allocations: 198.9 kB / 0.5708 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3591, allocations: 8.438 kB / 0.5708 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3592, allocations: 42.88 kB / 0.5708 GB, free: 9.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.3592, allocations: 7.938 kB / 0.5708 GB, free: 9.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003057/0.3622, allocations: 1.838 MB / 0.5726 GB, free: 7.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.3623, allocations: 89.61 kB / 0.5727 GB, free: 7.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3626, allocations: 252.2 kB / 0.5729 GB, free: 7.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3626, allocations: 37.7 kB / 0.573 GB, free: 7.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.3628, allocations: 221.4 kB / 0.5732 GB, free: 7.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.363, allocations: 281.5 kB / 0.5734 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3632, allocations: 122.6 kB / 0.5736 GB, free: 6.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3634, allocations: 354.7 kB / 0.5739 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.3637, allocations: 161.9 kB / 0.5741 GB, free: 6.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.364, allocations: 272.9 kB / 0.5743 GB, free: 6.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.3647, allocations: 470.7 kB / 0.5748 GB, free: 5.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3647, allocations: 4 kB / 0.5748 GB, free: 5.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008755/0.3656, allocations: 0.5749 MB / 0.5753 GB, free: 5.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3656, allocations: 4 kB / 0.5753 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3656, allocations: 4 kB / 0.5753 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3656, allocations: 8 kB / 0.5753 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.3662, allocations: 179.7 kB / 0.5755 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3662, allocations: 4 kB / 0.5755 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3665, allocations: 28.22 kB / 0.5755 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.3665, allocations: 32 kB / 0.5756 GB, free: 4.75 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.3668, allocations: 177.6 kB / 0.5757 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3669, allocations: 47.72 kB / 0.5758 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.367, allocations: 55.64 kB / 0.5758 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.367, allocations: 8 kB / 0.5759 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.367, allocations: 4 kB / 0.5759 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.367, allocations: 7.922 kB / 0.5759 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.3691, allocations: 1.408 MB / 0.5772 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3691, allocations: 4 kB / 0.5772 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.3698, allocations: 155.8 kB / 0.5774 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.3698, allocations: 11.94 kB / 0.5774 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.3699, allocations: 23.94 kB / 0.5774 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.3699, allocations: 7.938 kB / 0.5774 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.3699, allocations: 7.984 kB / 0.5774 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.371, allocations: 0.9091 MB / 0.5783 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.3711, allocations: 47.66 kB / 0.5784 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.3712, allocations: 19.98 kB / 0.5784 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.3715, allocations: 20 kB / 0.5784 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.3716, allocations: 52.28 kB / 0.5785 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.3716, allocations: 27.94 kB / 0.5785 GB, free: 1.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.3718, allocations: 175.1 kB / 0.5787 GB, free: 1.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 0.5787 GB, free: 1.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.3723, allocations: 148 kB / 0.5788 GB, free: 1.289 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.3739, allocations: 1.466 MB / 0.5802 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008485/0.3747, allocations: 436.1 kB / 0.5806 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3747, allocations: 4 kB / 0.5806 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.3751, allocations: 222.2 kB / 0.5809 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.376, allocations: 140.1 kB / 0.581 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.3825, allocations: 4.78 MB / 0.5857 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.383, allocations: 0.8484 MB / 0.5865 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.3832, allocations: 60.66 kB / 0.5865 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.3835, allocations: 163.4 kB / 0.5867 GB, free: 8.887 MB / 430.1 MB Notification: Performance of SimCode: time 1.774e-06/0.3835, allocations: 0 / 0.5867 GB, free: 8.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.429, allocations: 10.53 MB / 0.597 GB, free: 14.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.55, allocations: 10.97 kB / 0.597 GB, free: 14.55 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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: 15.750852312194183]