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.00177/0.00177, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002152/0.002152, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2226/0.2226, allocations: 46.97 MB / 361.7 MB, free: 4.035 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 0.4969 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3647, allocations: 66.03 MB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004932/0.3696, allocations: 3.008 MB / 0.5643 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3714, allocations: 0.7984 MB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.3717, allocations: 15.88 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3719, allocations: 75.23 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.3723, allocations: 178.5 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3726, allocations: 107.9 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.3732, allocations: 0.5985 MB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.3735, allocations: 121.8 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.3738, allocations: 231.3 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.3741, allocations: 238.9 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.3742, allocations: 48 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.3743, allocations: 44 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3744, allocations: 107.6 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.3747, allocations: 219 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006728/0.3753, allocations: 0.566 MB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3753, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3753, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.3754, allocations: 0 / 0.5675 GB, free: 13.89 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.001184/0.3765, allocations: 0.7037 MB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3766, allocations: 8.031 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.714e-05/0.3766, allocations: 13.19 kB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.482e-05/0.3767, allocations: 86.7 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.3768, allocations: 60.61 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3772, allocations: 256.8 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.3773, allocations: 41.38 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.3774, allocations: 60.3 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.3781, allocations: 430.6 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.3782, allocations: 15.94 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.3782, allocations: 16 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3782, allocations: 15.94 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.3788, allocations: 316.4 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.3805, allocations: 1.01 MB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.3812, allocations: 385 kB / 0.5708 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.3815, allocations: 191.1 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3816, allocations: 12.38 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.3816, allocations: 50.88 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.3816, allocations: 0 / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003051/0.3847, allocations: 1.833 MB / 0.5729 GB, free: 8.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.3847, allocations: 85.61 kB / 0.5729 GB, free: 8.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.385, allocations: 260.1 kB / 0.5732 GB, free: 7.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3851, allocations: 41.7 kB / 0.5732 GB, free: 7.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3852, allocations: 209.4 kB / 0.5734 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3854, allocations: 281.5 kB / 0.5737 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.3856, allocations: 122.6 kB / 0.5738 GB, free: 7.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3858, allocations: 358.8 kB / 0.5741 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.386, allocations: 153.9 kB / 0.5743 GB, free: 6.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.3864, allocations: 284.8 kB / 0.5746 GB, free: 6.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.3871, allocations: 463.8 kB / 0.575 GB, free: 5.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3871, allocations: 4 kB / 0.575 GB, free: 5.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008722/0.388, allocations: 0.5749 MB / 0.5756 GB, free: 5.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.388, allocations: 4 kB / 0.5756 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.388, allocations: 4 kB / 0.5756 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.388, allocations: 8 kB / 0.5756 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.3886, allocations: 175.7 kB / 0.5758 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.3886, allocations: 11.92 kB / 0.5758 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3889, allocations: 36.22 kB / 0.5758 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3889, allocations: 20 kB / 0.5758 GB, free: 4.988 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.0002293/0.3891, allocations: 181.7 kB / 0.576 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.3892, allocations: 47.72 kB / 0.576 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3894, allocations: 55.64 kB / 0.5761 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3894, allocations: 4 kB / 0.5761 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.3894, allocations: 4 kB / 0.5761 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3894, allocations: 7.922 kB / 0.5761 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.3915, allocations: 1.345 MB / 0.5774 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3915, allocations: 4 kB / 0.5774 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.3922, allocations: 160.1 kB / 0.5776 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.3922, allocations: 15.94 kB / 0.5776 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.3922, allocations: 16 kB / 0.5776 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.3923, allocations: 7.938 kB / 0.5776 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3923, allocations: 4 kB / 0.5776 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3936, allocations: 0.9166 MB / 0.5785 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.3937, allocations: 47.66 kB / 0.5786 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.3937, allocations: 12 kB / 0.5786 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.394, allocations: 19.98 kB / 0.5786 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.3941, allocations: 60.23 kB / 0.5787 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.3941, allocations: 23.98 kB / 0.5787 GB, free: 1.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.3943, allocations: 179.1 kB / 0.5788 GB, free: 1.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3943, allocations: 0 / 0.5788 GB, free: 1.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.3948, allocations: 144 kB / 0.579 GB, free: 1.586 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.001453/0.3963, allocations: 1.477 MB / 0.5804 GB, free: 60 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000814/0.3971, allocations: 427.6 kB / 0.5808 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3971, allocations: 4 kB / 0.5808 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.3974, allocations: 222.2 kB / 0.581 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.3983, allocations: 134.8 kB / 0.5812 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.4046, allocations: 4.78 MB / 0.5858 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.4049, allocations: 246 kB / 0.5861 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.4051, allocations: 60.66 kB / 0.5861 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.4053, allocations: 167.4 kB / 0.5863 GB, free: 9.793 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4053, allocations: 0 / 0.5863 GB, free: 9.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.44, allocations: 10.74 MB / 0.5968 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.73, allocations: 11.75 kB / 0.5968 GB, free: 15.32 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: 16.025968090980314]