Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.8 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08984, allocations: 50.53 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1846/0.2745, allocations: 34.46 MB / 391.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.2908, allocations: 7.833 MB / 399.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005715/0.2965, allocations: 147.4 kB / 399.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.3002, allocations: 1.92 MB / 401.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.3041, allocations: 1.518 MB / 402.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3055, allocations: 0.5582 MB / 403.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005011/0.3105, allocations: 4.766 MB / 408.1 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.3137, allocations: 2.538 MB / 410.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.3158, allocations: 1.09 MB / 411.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.3184, allocations: 1.783 MB / 413.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006793/0.3191, allocations: 180 kB / 413.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.321, allocations: 0.9985 MB / 414.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.3222, allocations: 1.492 MB / 416.2 MB, free: 412 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.3238, allocations: 1.755 MB / 417.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004517/0.3283, allocations: 5.529 MB / 423.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3283, allocations: 0 / 423.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3283, allocations: 0 / 423.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.471e-05/0.3284, allocations: 0 / 423.4 MB, free: 9.086 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00616/0.3346, allocations: 4.009 MB / 427.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3346, allocations: 12.02 kB / 427.5 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006077/0.3352, allocations: 0.6043 MB / 428.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.3409, allocations: 1.79 MB / 429.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.3442, allocations: 2.111 MB / 432 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3444, allocations: 196.8 kB / 432.2 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.3448, allocations: 247.9 kB / 432.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.3559, allocations: 8.443 MB / 440.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/0.356, allocations: 43.58 kB / 440.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.3563, allocations: 123.9 kB / 441 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/0.3588, allocations: 1.699 MB / 442.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.3707, allocations: 7.102 MB / 449.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/0.4054, allocations: 34.15 MB / 484 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007157/0.4125, allocations: 3.294 MB / 487.3 MB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.4143, allocations: 1.47 MB / 488.7 MB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00578/0.4201, allocations: 4.437 MB / 493.2 MB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4201, allocations: 59 kB / 493.2 MB, free: 1.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.096e-06/0.4202, allocations: 0 / 493.2 MB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02731/0.4475, allocations: 11.56 MB / 0.4929 GB, free: 5.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.4476, allocations: 141.2 kB / 0.4931 GB, free: 5.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/0.452, allocations: 3.713 MB / 0.4967 GB, free: 1.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.4521, allocations: 41.7 kB / 0.4967 GB, free: 1.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.4537, allocations: 2.752 MB / 0.4994 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.4541, allocations: 0.5171 MB / 0.4999 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4553, allocations: 1.075 MB / 0.501 GB, free: 13.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.4554, allocations: 309.1 kB / 0.5013 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.4577, allocations: 1.701 MB / 0.5029 GB, free: 11.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.4618, allocations: 5.127 MB / 0.508 GB, free: 4.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.469, allocations: 7.406 MB / 0.5152 GB, free: 11.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.514e-05/0.4691, allocations: 36 kB / 0.5152 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01001/0.4791, allocations: 6.702 MB / 0.5218 GB, free: 4.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/0.4792, allocations: 60 kB / 0.5218 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.4794, allocations: 120 kB / 0.5219 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.4801, allocations: 325.4 kB / 0.5222 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003524/0.4836, allocations: 1.244 MB / 0.5235 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.4861, allocations: 2.275 MB / 0.5257 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1843/0.6705, allocations: 284.6 kB / 0.526 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009272/0.6714, allocations: 331.8 kB / 0.5263 GB, free: 141.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * Array equations: 3 * 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.002606/0.674, allocations: 1.793 MB / 0.528 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/0.6746, allocations: 310.8 kB / 0.5283 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/0.679, allocations: 2.371 MB / 0.5306 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.6791, allocations: 17.59 kB / 0.5307 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6791, allocations: 3.031 kB / 0.5307 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.6791, allocations: 6.469 kB / 0.5307 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.6892, allocations: 5.931 MB / 0.5365 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6892, allocations: 3.156 kB / 0.5365 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.69, allocations: 182.6 kB / 0.5366 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.6921, allocations: 0.7135 MB / 0.5373 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.6922, allocations: 22.59 kB / 0.5373 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/0.697, allocations: 4.475 MB / 0.5417 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.697, allocations: 2.625 kB / 0.5417 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.7031, allocations: 4.337 MB / 0.546 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007526/0.7039, allocations: 362.3 kB / 0.5463 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.7042, allocations: 17.25 kB / 0.5463 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.7051, allocations: 69.95 kB / 0.5464 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.7053, allocations: 71.8 kB / 0.5465 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/0.7054, allocations: 31.94 kB / 0.5465 GB, free: 134.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002943/0.7084, allocations: 2.324 MB / 0.5488 GB, free: 133.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7084, allocations: 1.562 kB / 0.5488 GB, free: 133.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00362/0.712, allocations: 0.8023 MB / 0.5495 GB, free: 133.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005516/0.7175, allocations: 4.969 MB / 0.5544 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0046/0.7221, allocations: 4.025 MB / 0.5583 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7222, allocations: 2.75 kB / 0.5583 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.7233, allocations: 1.111 MB / 0.5594 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.7251, allocations: 374.5 kB / 0.5598 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/0.766, allocations: 43.66 MB / 0.6024 GB, free: 79.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.768, allocations: 2.781 MB / 0.6051 GB, free: 76.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003201/0.7712, allocations: 1.66 MB / 0.6067 GB, free: 74.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.7726, allocations: 1.521 MB / 0.6082 GB, free: 73.08 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.7726, allocations: 0 / 0.6082 GB, free: 73.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06938/0.842, allocations: 59.71 MB / 0.6665 GB, free: 13.71 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.8421, allocations: 252.7 kB / 0.6668 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/3.905, allocations: 0 / 0.6668 GB, free: 13.45 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches