Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001328/0.001328, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001842/0.001842, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.92 MB / 361.6 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 75.89 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3106, allocations: 66.09 MB / 0.5615 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01047/0.3211, allocations: 8.703 MB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.3284, allocations: 3.528 MB / 0.5735 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.33, allocations: 51.75 kB / 0.5735 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.3328, allocations: 1.382 MB / 0.5749 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.3354, allocations: 0.937 MB / 0.5758 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3365, allocations: 0.5069 MB / 0.5763 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.3391, allocations: 1.734 MB / 0.578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.3409, allocations: 1.253 MB / 0.5792 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.3421, allocations: 0.6698 MB / 0.5798 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.3436, allocations: 0.9464 MB / 0.5808 GB, free: 436 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.3439, allocations: 140 kB / 0.5809 GB, free: 296 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.3449, allocations: 0.5851 MB / 0.5815 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007087/0.3456, allocations: 0.7479 MB / 0.5822 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.3465, allocations: 0.8315 MB / 0.583 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.3492, allocations: 2.487 MB / 0.5854 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3492, allocations: 0 / 0.5854 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3492, allocations: 0 / 0.5854 GB, free: 11.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.3493, allocations: 4 kB / 0.5854 GB, free: 11.62 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003604/0.3529, allocations: 1.986 MB / 0.5874 GB, free: 9.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3529, allocations: 8.031 kB / 0.5874 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.189e-05/0.353, allocations: 42.67 kB / 0.5874 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.3532, allocations: 241.5 kB / 0.5877 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.3544, allocations: 287.5 kB / 0.5879 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.3568, allocations: 1.229 MB / 0.5891 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.3569, allocations: 90.45 kB / 0.5892 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.3571, allocations: 128 kB / 0.5893 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/0.3628, allocations: 2.996 MB / 0.5923 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-05/0.3628, allocations: 15.89 kB / 0.5923 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.3629, allocations: 55.97 kB / 0.5923 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006419/0.3636, allocations: 434 kB / 0.5927 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00488/0.3685, allocations: 2.175 MB / 0.5949 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.382, allocations: 10.64 MB / 0.6053 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.3861, allocations: 1.206 MB / 0.6064 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/0.3868, allocations: 371.1 kB / 0.6068 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003819/0.3906, allocations: 2.104 MB / 0.6088 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.3907, allocations: 38.94 kB / 0.6089 GB, free: 2.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.286e-06/0.3907, allocations: 4 kB / 0.6089 GB, free: 2.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01244/0.4031, allocations: 3.586 MB / 0.6124 GB, free: 15.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.4032, allocations: 81.61 kB / 0.6125 GB, free: 15.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.4051, allocations: 1.19 MB / 0.6136 GB, free: 14.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.4051, allocations: 33.64 kB / 0.6137 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007602/0.4059, allocations: 0.9624 MB / 0.6146 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.4061, allocations: 238.1 kB / 0.6148 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.4065, allocations: 311.3 kB / 0.6151 GB, free: 12.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4066, allocations: 305.1 kB / 0.6154 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.4073, allocations: 415.7 kB / 0.6158 GB, free: 11.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.4087, allocations: 1.242 MB / 0.617 GB, free: 10.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.4111, allocations: 1.803 MB / 0.6188 GB, free: 7.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/0.4111, allocations: 8 kB / 0.6188 GB, free: 7.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003255/0.4144, allocations: 1.723 MB / 0.6205 GB, free: 6.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.4144, allocations: 20 kB / 0.6205 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.4145, allocations: 28 kB / 0.6205 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.4147, allocations: 80.83 kB / 0.6206 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4158, allocations: 363.3 kB / 0.6209 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.4179, allocations: 1.781 MB / 0.6227 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.419, allocations: 76.03 kB / 0.6228 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4192, allocations: 84 kB / 0.6228 GB, free: 3.617 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.4203, allocations: 0.64 MB / 0.6235 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.4206, allocations: 119.2 kB / 0.6236 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.4209, allocations: 135.6 kB / 0.6237 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.421, allocations: 4 kB / 0.6237 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.421, allocations: 8 kB / 0.6237 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.421, allocations: 3.984 kB / 0.6237 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.4252, allocations: 2.216 MB / 0.6259 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.4252, allocations: 4 kB / 0.6259 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.4256, allocations: 91.89 kB / 0.626 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.4258, allocations: 68.8 kB / 0.626 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.4259, allocations: 19.98 kB / 0.6261 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.4278, allocations: 1.833 MB / 0.6279 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.4278, allocations: 4.062 kB / 0.6279 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.4297, allocations: 1.126 MB / 0.629 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.4301, allocations: 107.2 kB / 0.6291 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.4303, allocations: 12 kB / 0.6291 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.4308, allocations: 27.92 kB / 0.6291 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.4309, allocations: 51.92 kB / 0.6291 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.4309, allocations: 19.94 kB / 0.6292 GB, free: 12.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.4323, allocations: 0.7636 MB / 0.6299 GB, free: 12.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4323, allocations: 0 / 0.6299 GB, free: 12.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001545/0.4338, allocations: 292 kB / 0.6302 GB, free: 11.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00237/0.4362, allocations: 1.68 MB / 0.6318 GB, free: 10.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4384, allocations: 1.065 MB / 0.6329 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4384, allocations: 0 / 0.6329 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.4391, allocations: 403.9 kB / 0.6333 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4404, allocations: 184.7 kB / 0.6334 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.4586, allocations: 11.51 MB / 0.6447 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.4602, allocations: 1.451 MB / 0.6461 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009995/0.4612, allocations: 405.6 kB / 0.6465 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/0.462, allocations: 0.5774 MB / 0.647 GB, free: 9.344 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.462, allocations: 0 / 0.647 GB, free: 9.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/0.5253, allocations: 24.36 MB / 0.6708 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.18, allocations: 7.297 kB / 0.6708 GB, free: 1.176 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 17.816163994022645]