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.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.001006/0.001006, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001155/0.001155, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8661/0.8661, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1245/0.1245, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.951e-05, allocations: 9.516 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002685/0.002705, allocations: 2.978 MB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003841, allocations: 0.8263 MB / 410.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.004003, allocations: 19.88 kB / 410.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.00416, allocations: 75.23 kB / 410.7 MB, free: 9.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.004382, allocations: 186.3 kB / 410.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.004566, allocations: 111.8 kB / 411 MB, free: 9.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.004905, allocations: 0.6216 MB / 411.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.005097, allocations: 113.8 kB / 411.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.005343, allocations: 351.2 kB / 412.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.005511, allocations: 171.5 kB / 412.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.00556, allocations: 44 kB / 412.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.0056, allocations: 44 kB / 412.4 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.005652, allocations: 111.6 kB / 412.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.005762, allocations: 187.6 kB / 412.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.00612, allocations: 0.5645 MB / 413.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006122, allocations: 0 / 413.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006123, allocations: 0 / 413.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.006129, allocations: 4 kB / 413.2 MB, free: 7.109 MB / 346.7 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.0006333/0.006763, allocations: 0.6843 MB / 413.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.006799, allocations: 15.95 kB / 413.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.006858, allocations: 82.72 kB / 414 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.006912, allocations: 60.61 kB / 414.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.007192, allocations: 260.4 kB / 414.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.007213, allocations: 37.38 kB / 414.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.007264, allocations: 56.33 kB / 414.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.007683, allocations: 435.2 kB / 414.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.007704, allocations: 12.08 kB / 414.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.007727, allocations: 24.12 kB / 414.9 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.007737, allocations: 12 kB / 414.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.00805, allocations: 308.4 kB / 415.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.009047, allocations: 1.014 MB / 416.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.00953, allocations: 381 kB / 416.6 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.009714, allocations: 197.3 kB / 416.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.009736, allocations: 8.5 kB / 416.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.009758, allocations: 43 kB / 416.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/0.00976, allocations: 0 / 416.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.001777/0.01154, allocations: 1.853 MB / 418.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.01158, allocations: 85.61 kB / 418.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.01174, allocations: 256.2 kB / 419 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.01176, allocations: 37.7 kB / 419 MB, free: 1.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.01184, allocations: 213.4 kB / 419.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.01196, allocations: 281.6 kB / 419.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.01205, allocations: 122.7 kB / 419.6 MB, free: 400 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.01214, allocations: 354.7 kB / 420 MB, free: 36 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.01231, allocations: 161.9 kB / 420.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.01252, allocations: 280.8 kB / 420.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.01294, allocations: 471.8 kB / 420.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01294, allocations: 0 / 420.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004911/0.01343, allocations: 0.5671 MB / 421.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01344, allocations: 4 kB / 421.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01345, allocations: 4 kB / 421.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01346, allocations: 12.22 kB / 421.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.01376, allocations: 183.8 kB / 421.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01377, allocations: 7.938 kB / 421.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.0139, allocations: 27.98 kB / 421.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.01392, allocations: 27.94 kB / 421.7 MB, free: 14.24 MB / 362.7 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.0001169/0.01404, allocations: 177.7 kB / 421.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.01408, allocations: 47.72 kB / 421.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.01414, allocations: 59.64 kB / 422 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01414, allocations: 12 kB / 422 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01415, allocations: 0 / 422 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01416, allocations: 3.984 kB / 422 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.01529, allocations: 1.355 MB / 423.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01529, allocations: 7.984 kB / 423.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.01561, allocations: 155.8 kB / 423.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01562, allocations: 4 kB / 423.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.01564, allocations: 23.98 kB / 423.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01564, allocations: 4 kB / 423.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01565, allocations: 7.938 kB / 423.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.01633, allocations: 0.913 MB / 424.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.01637, allocations: 47.64 kB / 424.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.0164, allocations: 24.06 kB / 424.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.01654, allocations: 19.94 kB / 424.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01658, allocations: 48.41 kB / 424.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.01659, allocations: 20 kB / 424.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.01668, allocations: 179.1 kB / 424.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01668, allocations: 0 / 424.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.01699, allocations: 148 kB / 424.9 MB, free: 10.84 MB / 362.7 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.0008289/0.01782, allocations: 1.465 MB / 426.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.01822, allocations: 436.3 kB / 426.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01823, allocations: 3.938 kB / 426.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.0184, allocations: 219.5 kB / 427 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.01889, allocations: 133.6 kB / 427.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.02221, allocations: 4.509 MB / 431.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.02235, allocations: 242 kB / 431.9 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.02246, allocations: 56.66 kB / 432 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.02262, allocations: 172.4 kB / 432.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02262, allocations: 0 / 432.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.04145, allocations: 11.05 MB / 443.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.728, allocations: 4 kB / 443.2 MB, free: 8.285 MB / 378.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.854109995998442]