Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 109.4 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 220.1 kB / 22.92 MB, free: 5.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 230.2 MB / 256.2 MB, free: 8.574 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1933/0.1933, allocations: 46.88 MB / 359.3 MB, free: 4.934 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 79.86 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2519, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01629/0.2682, allocations: 16.34 MB / 0.5744 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009838/0.278, allocations: 5.396 MB / 0.5796 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.28, allocations: 99.75 kB / 0.5797 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007242/0.2872, allocations: 4.232 MB / 0.5839 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006227/0.2935, allocations: 2.79 MB / 0.5866 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.296, allocations: 1.263 MB / 0.5878 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009627/0.3057, allocations: 7.718 MB / 0.5954 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005662/0.3113, allocations: 4.351 MB / 0.5996 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.3152, allocations: 2.679 MB / 0.6022 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005754/0.3209, allocations: 4.089 MB / 0.6062 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.3226, allocations: 0.5938 MB / 0.6068 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.3262, allocations: 1.791 MB / 0.6085 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003967/0.3302, allocations: 3.389 MB / 0.6119 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005638/0.3359, allocations: 3.802 MB / 0.6156 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3491, allocations: 12.44 MB / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3491, allocations: 0 / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3491, allocations: 0 / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.3494, allocations: 0 / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.0154/0.3648, allocations: 8.162 MB / 0.6357 GB, free: 5.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3648, allocations: 8.031 kB / 0.6357 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001863/0.3667, allocations: 1.307 MB / 0.637 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/0.3946, allocations: 5.753 MB / 0.6426 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009154/0.4037, allocations: 4.898 MB / 0.6474 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.4041, allocations: 398 kB / 0.6478 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.4058, allocations: 0.5582 MB / 0.6483 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.4379, allocations: 18.82 MB / 0.6667 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.4381, allocations: 75.39 kB / 0.6667 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006499/0.4388, allocations: 251.7 kB / 0.667 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004865/0.4436, allocations: 3.424 MB / 0.6703 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03098/0.4746, allocations: 16.52 MB / 0.6865 GB, free: 496 kB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4455/0.9201, allocations: 66.61 MB / 0.7515 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.9325, allocations: 6.051 MB / 0.7574 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.9351, allocations: 2.647 MB / 0.76 GB, free: 108.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.9499, allocations: 13.95 MB / 0.7736 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.9499, allocations: 61.8 kB / 0.7737 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 4.298e-06/0.9499, allocations: 0 / 0.7737 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.06687/1.017, allocations: 25.24 MB / 0.7983 GB, free: 80.38 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/1.017, allocations: 192.3 kB / 0.7985 GB, free: 80.15 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005341/1.022, allocations: 5.91 MB / 0.8043 GB, free: 74.39 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/1.023, allocations: 77.7 kB / 0.8044 GB, free: 74.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.024, allocations: 5.179 MB / 0.8094 GB, free: 69.44 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007494/1.025, allocations: 1.349 MB / 0.8107 GB, free: 68.11 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/1.027, allocations: 1.874 MB / 0.8126 GB, free: 66.22 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.656e-05/1.027, allocations: 306.7 kB / 0.8129 GB, free: 65.92 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003624/1.03, allocations: 3.298 MB / 0.8161 GB, free: 62.62 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/1.035, allocations: 8.766 MB / 0.8246 GB, free: 51.24 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/1.045, allocations: 13.06 MB / 0.8374 GB, free: 35.57 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.184e-05/1.045, allocations: 52 kB / 0.8375 GB, free: 35.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.01783/1.063, allocations: 12.82 MB / 0.85 GB, free: 22.66 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/1.063, allocations: 88 kB / 0.8501 GB, free: 22.57 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/1.063, allocations: 192 kB / 0.8502 GB, free: 22.39 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/1.066, allocations: 1.318 MB / 0.8515 GB, free: 21.07 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/1.072, allocations: 2.164 MB / 0.8536 GB, free: 18.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009086/1.081, allocations: 7.846 MB / 0.8613 GB, free: 10.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/1.087, allocations: 0.5034 MB / 0.8618 GB, free: 10.42 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007398/1.087, allocations: 0.5463 MB / 0.8623 GB, free: 9.875 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004033/1.091, allocations: 3.441 MB / 0.8657 GB, free: 6.418 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/1.092, allocations: 0.5549 MB / 0.8662 GB, free: 5.859 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008876/1.101, allocations: 5.396 MB / 0.8715 GB, free: 416 kB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.101, allocations: 39.94 kB / 0.8715 GB, free: 376 kB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.101, allocations: 13.59 kB / 0.8716 GB, free: 364 kB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/1.101, allocations: 15.94 kB / 0.8716 GB, free: 348 kB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/1.125, allocations: 13.93 MB / 0.8852 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.125, allocations: 12 kB / 0.8852 GB, free: 2.18 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.127, allocations: 499.2 kB / 0.8857 GB, free: 1.691 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.13, allocations: 0.8094 MB / 0.8864 GB, free: 0.8789 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/1.13, allocations: 67.98 kB / 0.8865 GB, free: 0.8125 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009338/1.14, allocations: 5.819 MB / 0.8922 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.537e-05/1.14, allocations: 19.88 kB / 0.8922 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.153, allocations: 8.33 MB / 0.9003 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.155, allocations: 0.587 MB / 0.9009 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.155, allocations: 67.94 kB / 0.901 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.157, allocations: 134.3 kB / 0.9011 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.157, allocations: 225.4 kB / 0.9013 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.158, allocations: 99.98 kB / 0.9014 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005249/1.163, allocations: 3.669 MB / 0.905 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.163, allocations: 0 / 0.905 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006127/1.169, allocations: 1.599 MB / 0.9066 GB, free: 11.87 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (269): * Single equations (assignments): 262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/1.183, allocations: 9.059 MB / 0.9154 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.195, allocations: 7.509 MB / 0.9227 GB, free: 11.02 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.195, allocations: 4 kB / 0.9227 GB, free: 11.02 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.003427/1.198, allocations: 2.214 MB / 0.9249 GB, free: 8.789 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/1.201, allocations: 0.7151 MB / 0.9256 GB, free: 8.086 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2999/1.501, allocations: 73.81 MB / 0.9977 GB, free: 256 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004281/1.505, allocations: 5.158 MB / 1.003 GB, free: 255.1 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.004886/1.51, allocations: 2.969 MB / 1.006 GB, free: 255 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003048/1.513, allocations: 3.325 MB / 1.009 GB, free: 252.4 MB / 0.6857 GB Notification: Performance of SimCode: time 1.012e-06/1.513, allocations: 3.719 kB / 1.009 GB, free: 252.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/1.641, allocations: 107.7 MB / 1.114 GB, free: 152 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/22.36, allocations: 4 kB / 1.114 GB, free: 152 MB / 0.6857 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.965210652997484]