Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.001661/0.001661, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001887/0.001887, allocations: 211.1 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 207.6 MB / 231.2 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3615/0.3615, allocations: 44.23 MB / 327.3 MB, free: 6.699 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 63.91 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2912, allocations: 61 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004825/0.296, allocations: 4.117 MB / 0.5156 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.2983, allocations: 1.126 MB / 0.5167 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.2989, allocations: 17.5 kB / 0.5168 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.2992, allocations: 99.2 kB / 0.5169 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.2999, allocations: 202.9 kB / 0.517 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.3006, allocations: 193.8 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3016, allocations: 0.7845 MB / 0.518 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.3019, allocations: 175.5 kB / 0.5182 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.3022, allocations: 316.5 kB / 0.5185 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3026, allocations: 330.2 kB / 0.5188 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/0.3027, allocations: 62.69 kB / 0.5188 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3028, allocations: 91.98 kB / 0.5189 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.3029, allocations: 147.4 kB / 0.5191 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.3031, allocations: 346.2 kB / 0.5194 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.3037, allocations: 0.7766 MB / 0.5202 GB, free: 6.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3037, allocations: 0 / 0.5202 GB, free: 6.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3037, allocations: 0 / 0.5202 GB, free: 6.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3038, allocations: 0 / 0.5202 GB, free: 6.191 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001606/0.3054, allocations: 1.016 MB / 0.5212 GB, free: 5.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3054, allocations: 11.89 kB / 0.5212 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.412e-05/0.3054, allocations: 17.5 kB / 0.5212 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.42e-05/0.3055, allocations: 98.69 kB / 0.5213 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3056, allocations: 80.47 kB / 0.5213 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.306, allocations: 406.1 kB / 0.5217 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.306, allocations: 45.69 kB / 0.5218 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.3061, allocations: 64.33 kB / 0.5218 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/0.307, allocations: 0.6264 MB / 0.5225 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.3071, allocations: 15.94 kB / 0.5225 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.3071, allocations: 20 kB / 0.5225 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3071, allocations: 19.94 kB / 0.5225 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3081, allocations: 0.5291 MB / 0.523 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.3105, allocations: 2.161 MB / 0.5251 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3115, allocations: 0.6563 MB / 0.5258 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.3121, allocations: 327.1 kB / 0.5261 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.3123, allocations: 97.53 kB / 0.5262 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.3124, allocations: 47.25 kB / 0.5262 GB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.235e-06/0.3124, allocations: 0 / 0.5262 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.009084/0.3214, allocations: 4.54 MB / 0.5307 GB, free: 10.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.3216, allocations: 230.2 kB / 0.5309 GB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.3221, allocations: 361.9 kB / 0.5312 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.3221, allocations: 41.7 kB / 0.5313 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.3224, allocations: 277.4 kB / 0.5315 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.3228, allocations: 432.2 kB / 0.5319 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.3231, allocations: 179 kB / 0.5321 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.3233, allocations: 378.8 kB / 0.5325 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.324, allocations: 322.4 kB / 0.5328 GB, free: 8.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.3249, allocations: 0.5004 MB / 0.5333 GB, free: 7.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.3265, allocations: 0.8695 MB / 0.5341 GB, free: 6.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3265, allocations: 0 / 0.5341 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002072/0.3286, allocations: 1.02 MB / 0.5351 GB, free: 5.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3286, allocations: 8 kB / 0.5351 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.3286, allocations: 4 kB / 0.5351 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.3286, allocations: 12.44 kB / 0.5351 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3297, allocations: 287.7 kB / 0.5354 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.3297, allocations: 11.94 kB / 0.5354 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.3302, allocations: 47.97 kB / 0.5355 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.3303, allocations: 40.28 kB / 0.5355 GB, free: 5.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0003612/0.3306, allocations: 237.5 kB / 0.5357 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.3309, allocations: 79.52 kB / 0.5358 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.3314, allocations: 218.8 kB / 0.536 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3314, allocations: 12 kB / 0.536 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3314, allocations: 0 / 0.536 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.3315, allocations: 11.97 kB / 0.536 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.3355, allocations: 2.324 MB / 0.5383 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.3355, allocations: 4 kB / 0.5383 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.3366, allocations: 259.9 kB / 0.5386 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.3366, allocations: 7.938 kB / 0.5386 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.3367, allocations: 31.98 kB / 0.5386 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.3367, allocations: 8 kB / 0.5386 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.3367, allocations: 4 kB / 0.5386 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.3396, allocations: 1.906 MB / 0.5405 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.3399, allocations: 204.5 kB / 0.5407 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.34, allocations: 24.06 kB / 0.5407 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.3406, allocations: 47.97 kB / 0.5407 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.3408, allocations: 92.33 kB / 0.5408 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.3409, allocations: 35.98 kB / 0.5409 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.3412, allocations: 247.2 kB / 0.5411 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3412, allocations: 0 / 0.5411 GB, free: 15.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009486/0.3421, allocations: 196.1 kB / 0.5413 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.003405/0.3455, allocations: 2.493 MB / 0.5437 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.3474, allocations: 0.8071 MB / 0.5445 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3474, allocations: 0 / 0.5445 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.3483, allocations: 476.1 kB / 0.545 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.3497, allocations: 130.8 kB / 0.5451 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.3612, allocations: 7.23 MB / 0.5521 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.3619, allocations: 0.9517 MB / 0.5531 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004298/0.3623, allocations: 101.7 kB / 0.5532 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.3628, allocations: 263.3 kB / 0.5534 GB, free: 2.621 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3628, allocations: 0 / 0.5534 GB, free: 2.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.4009, allocations: 13.97 MB / 0.5671 GB, free: 4.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.651/10.05, allocations: 15.91 kB / 0.5671 GB, free: 4.617 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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: 13.677887406025548]