Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 98.97 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 177.6 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03838/0.1699, allocations: 35.4 MB / 0.4951 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02285/0.1928, allocations: 8.702 MB / 0.5036 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008553/0.2014, allocations: 167.6 kB / 0.5037 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2785/0.4799, allocations: 1.804 MB / 0.5055 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02005/0.5, allocations: 5.305 MB / 0.5107 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.5034, allocations: 468.6 kB / 0.5111 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005753/0.5091, allocations: 2.199 MB / 0.5133 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005429/0.5146, allocations: 3.177 MB / 0.5164 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.5171, allocations: 0.9921 MB / 0.5173 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.5193, allocations: 1.351 MB / 0.5186 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.5198, allocations: 154.4 kB / 0.5188 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.5217, allocations: 0.7741 MB / 0.5195 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.5236, allocations: 1.557 MB / 0.5211 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.5249, allocations: 0.8727 MB / 0.5219 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006623/0.5315, allocations: 5.602 MB / 0.5274 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5315, allocations: 0 / 0.5274 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5315, allocations: 0 / 0.5274 GB, free: 7.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.5319, allocations: 0 / 0.5274 GB, free: 7.605 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.009827/0.5417, allocations: 4.172 MB / 0.5315 GB, free: 5.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5418, allocations: 9.562 kB / 0.5315 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002259/0.544, allocations: 0.8185 MB / 0.5323 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.5565, allocations: 3.785 MB / 0.536 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007977/0.5645, allocations: 2.252 MB / 0.5382 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.5648, allocations: 241.4 kB / 0.5384 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.5666, allocations: 307.9 kB / 0.5387 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.5894, allocations: 12.17 MB / 0.5506 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.5896, allocations: 35.52 kB / 0.5506 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005175/0.5901, allocations: 144.3 kB / 0.5508 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004917/0.595, allocations: 2.831 MB / 0.5535 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.6189, allocations: 11.44 MB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07004/0.689, allocations: 41.36 MB / 0.6051 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.7022, allocations: 6.154 MB / 0.6111 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/0.7042, allocations: 1.894 MB / 0.6129 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.7043, allocations: 59.83 kB / 0.613 GB, free: 14.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 6.422e-06/0.7043, allocations: 0 / 0.613 GB, free: 14.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.0574/0.7617, allocations: 21.02 MB / 0.6335 GB, free: 9.586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.7618, allocations: 77.41 kB / 0.6336 GB, free: 9.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/0.7684, allocations: 3.129 MB / 0.6366 GB, free: 6.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008577/0.7693, allocations: 61.7 kB / 0.6367 GB, free: 6.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/0.7718, allocations: 2.988 MB / 0.6396 GB, free: 3.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002109/0.7739, allocations: 1.023 MB / 0.6406 GB, free: 2.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.775, allocations: 116 kB / 0.6407 GB, free: 2.188 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0006162/0.7756, allocations: 0.5582 MB / 0.6413 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005282/0.7809, allocations: 2.819 MB / 0.644 GB, free: 14.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008554/0.7895, allocations: 5.979 MB / 0.6499 GB, free: 7.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008207/0.7977, allocations: 4.091 MB / 0.6539 GB, free: 3.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001783/0.7979, allocations: 35.95 kB / 0.6539 GB, free: 3.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02375/0.8217, allocations: 9.973 MB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.822, allocations: 52 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/0.8222, allocations: 112 kB / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/0.8263, allocations: 1.369 MB / 0.6651 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005847/0.8322, allocations: 1.365 MB / 0.6665 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.8449, allocations: 7.699 MB / 0.674 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006453/0.8514, allocations: 363.7 kB / 0.6743 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/0.8532, allocations: 346.8 kB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006878/0.8601, allocations: 2.295 MB / 0.6769 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/0.8612, allocations: 311.9 kB / 0.6772 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.8747, allocations: 6.606 MB / 0.6837 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.445e-05/0.8749, allocations: 45.95 kB / 0.6837 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.8749, allocations: 4 kB / 0.6837 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-05/0.875, allocations: 11.95 kB / 0.6837 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03455/0.9095, allocations: 14 MB / 0.6974 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.9096, allocations: 4 kB / 0.6974 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/0.9121, allocations: 459.4 kB / 0.6978 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.9156, allocations: 1.209 MB / 0.699 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/0.9163, allocations: 63.58 kB / 0.6991 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2976/1.214, allocations: 6.713 MB / 0.7056 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/1.214, allocations: 10.31 kB / 0.7056 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/1.232, allocations: 10.45 MB / 0.7158 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.233, allocations: 357.6 kB / 0.7162 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/1.234, allocations: 48.08 kB / 0.7162 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.235, allocations: 190.9 kB / 0.7164 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/1.236, allocations: 167 kB / 0.7166 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/1.236, allocations: 77.41 kB / 0.7166 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003405/1.239, allocations: 1.931 MB / 0.7185 GB, free: 178 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.239, allocations: 0 / 0.7185 GB, free: 178 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006405/1.246, allocations: 1.149 MB / 0.7197 GB, free: 177.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01618/1.262, allocations: 12.85 MB / 0.7322 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.273, allocations: 6.852 MB / 0.7389 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.273, allocations: 0 / 0.7389 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004466/1.278, allocations: 2.853 MB / 0.7417 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/1.281, allocations: 368 kB / 0.742 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0824/1.363, allocations: 111.9 MB / 0.8513 GB, free: 54.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004184/1.367, allocations: 3.675 MB / 0.8549 GB, free: 51.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004853/1.372, allocations: 2.208 MB / 0.857 GB, free: 48.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003294/1.375, allocations: 2.077 MB / 0.859 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/1.375, allocations: 0 / 0.859 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3389/1.714, allocations: 79.85 MB / 0.937 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.715, allocations: 192.4 kB / 0.9372 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.06/5.775, allocations: 0 / 0.9372 GB, free: 170.4 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat