Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 114.6 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.508/1.508, allocations: 207.6 MB / 230.4 MB, free: 4.082 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.3249/0.3249, allocations: 44.23 MB / 326.5 MB, free: 6.832 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 75.88 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2716, allocations: 60.99 MB / 0.5109 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004042/0.2757, allocations: 3.296 MB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2773, allocations: 0.8422 MB / 0.5149 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.2777, allocations: 10.41 kB / 0.5149 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2779, allocations: 70.91 kB / 0.515 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.2782, allocations: 177.8 kB / 0.5152 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2785, allocations: 110.9 kB / 0.5153 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.2791, allocations: 0.5996 MB / 0.5159 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.2793, allocations: 122.8 kB / 0.516 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.2796, allocations: 235.5 kB / 0.5162 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2798, allocations: 245 kB / 0.5164 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.2799, allocations: 42.19 kB / 0.5165 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.28, allocations: 44.25 kB / 0.5165 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.2801, allocations: 98.95 kB / 0.5166 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2803, allocations: 265.6 kB / 0.5169 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.2807, allocations: 0.5655 MB / 0.5174 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2807, allocations: 0 / 0.5174 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2807, allocations: 1.375 kB / 0.5174 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2807, allocations: 0 / 0.5174 GB, free: 8.199 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009485/0.2817, allocations: 0.7685 MB / 0.5182 GB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2817, allocations: 11.89 kB / 0.5182 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.572e-05/0.2818, allocations: 90.7 kB / 0.5183 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.2819, allocations: 60.56 kB / 0.5183 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.2823, allocations: 322.6 kB / 0.5186 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2824, allocations: 37.38 kB / 0.5187 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.2824, allocations: 52.33 kB / 0.5187 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.283, allocations: 438.7 kB / 0.5191 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.2831, allocations: 11.95 kB / 0.5192 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.2831, allocations: 16 kB / 0.5192 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2831, allocations: 15.94 kB / 0.5192 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.2835, allocations: 316.5 kB / 0.5195 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.2848, allocations: 1.146 MB / 0.5206 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.2853, allocations: 469.1 kB / 0.5211 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2856, allocations: 191 kB / 0.5212 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.2856, allocations: 4.656 kB / 0.5212 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2856, allocations: 50.86 kB / 0.5213 GB, free: 4.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.2856, allocations: 0 / 0.5213 GB, free: 4.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002254/0.2878, allocations: 2.14 MB / 0.5234 GB, free: 1.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2879, allocations: 85.67 kB / 0.5235 GB, free: 1.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2881, allocations: 263 kB / 0.5237 GB, free: 1.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2881, allocations: 33.7 kB / 0.5237 GB, free: 1.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.2882, allocations: 213.4 kB / 0.5239 GB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.2883, allocations: 285.5 kB / 0.5242 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2884, allocations: 118.7 kB / 0.5243 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.2885, allocations: 358.7 kB / 0.5247 GB, free: 468 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2887, allocations: 157.9 kB / 0.5248 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.2889, allocations: 276.9 kB / 0.5251 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/0.2896, allocations: 476 kB / 0.5255 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2896, allocations: 4 kB / 0.5255 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009019/0.2905, allocations: 0.5709 MB / 0.5261 GB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2905, allocations: 4 kB / 0.5261 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2905, allocations: 4 kB / 0.5261 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.2906, allocations: 8 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.2912, allocations: 179.7 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.2912, allocations: 8.219 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.2915, allocations: 35.98 kB / 0.5263 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.2916, allocations: 28 kB / 0.5264 GB, free: 14.64 MB / 398.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.000227/0.2918, allocations: 177.7 kB / 0.5265 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2919, allocations: 47.72 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.292, allocations: 59.64 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.292, allocations: 8 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.292, allocations: 0 / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.292, allocations: 11.92 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.2942, allocations: 1.44 MB / 0.5281 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2942, allocations: 4 kB / 0.5281 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.2949, allocations: 155.8 kB / 0.5282 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.2949, allocations: 4 kB / 0.5282 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.2949, allocations: 24.27 kB / 0.5282 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.2949, allocations: 12 kB / 0.5282 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.2949, allocations: 7.938 kB / 0.5283 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2961, allocations: 0.9122 MB / 0.5291 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2963, allocations: 124.8 kB / 0.5293 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.2963, allocations: 16 kB / 0.5293 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2966, allocations: 20 kB / 0.5293 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.2967, allocations: 48.38 kB / 0.5293 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2967, allocations: 23.94 kB / 0.5294 GB, free: 11.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.2969, allocations: 182 kB / 0.5295 GB, free: 11.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2969, allocations: 0 / 0.5295 GB, free: 11.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.2975, allocations: 144 kB / 0.5297 GB, free: 11.05 MB / 398.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.00162/0.2991, allocations: 1.464 MB / 0.5311 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.2999, allocations: 439.5 kB / 0.5315 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2999, allocations: 0 / 0.5315 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.3002, allocations: 222.2 kB / 0.5317 GB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.3011, allocations: 140.2 kB / 0.5319 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/0.308, allocations: 4.777 MB / 0.5365 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.3085, allocations: 0.8485 MB / 0.5374 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.3088, allocations: 60.66 kB / 0.5374 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.309, allocations: 159.4 kB / 0.5376 GB, free: 2.66 MB / 398.1 MB Notification: Performance of SimCode: time 1.723e-06/0.309, allocations: 0 / 0.5376 GB, free: 2.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.3498, allocations: 10.02 MB / 0.5474 GB, free: 8.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.545, allocations: 11.95 kB / 0.5474 GB, free: 8.617 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.546069605275989]