Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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 3.2.3+maint.om/package.mo", uses=false) 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.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(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",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.001265/0.001265, allocations: 113.4 kB / 17.73 MB, free: 5.34 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.001279/0.001279, allocations: 184.2 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.00207, allocations: 47.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1183, allocations: 46.61 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003578/0.1219, allocations: 2.467 MB / 377.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005487/0.1225, allocations: 255 kB / 377.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1227, allocations: 8 kB / 377.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.1228, allocations: 43.58 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.123, allocations: 91.12 kB / 377.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1232, allocations: 59.92 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1235, allocations: 342.3 kB / 377.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1237, allocations: 103.3 kB / 378 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1239, allocations: 115.6 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.124, allocations: 131.4 kB / 378.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.1241, allocations: 24 kB / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.1241, allocations: 28 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1242, allocations: 59.75 kB / 378.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1243, allocations: 143.3 kB / 378.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1246, allocations: 314.8 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1246, allocations: 0 / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1246, allocations: 3.938 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1247, allocations: 0 / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009571/0.1256, allocations: 0.5654 MB / 379.3 MB, free: 300 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.1257, allocations: 8.031 kB / 379.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.1258, allocations: 62.72 kB / 379.4 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.1259, allocations: 32.56 kB / 379.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1738/0.2997, allocations: 241.9 kB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2998, allocations: 23.03 kB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.2998, allocations: 27.17 kB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.3004, allocations: 253.4 kB / 380 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3005, allocations: 1.344 kB / 380 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3005, allocations: 12.88 kB / 380 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3005, allocations: 6.75 kB / 380 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.3008, allocations: 178.7 kB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.3019, allocations: 0.7453 MB / 380.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.3024, allocations: 277.8 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.3026, allocations: 124.4 kB / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3026, allocations: 5.906 kB / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3027, allocations: 44.44 kB / 381.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.365e-06/0.3027, allocations: 0 / 381.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.003078/0.3058, allocations: 1.705 MB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3058, allocations: 86.14 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.306, allocations: 195.8 kB / 383.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3061, allocations: 30.83 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.3062, allocations: 143.2 kB / 383.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3063, allocations: 167.5 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3064, allocations: 77.75 kB / 383.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3065, allocations: 338.7 kB / 384.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3067, allocations: 102.4 kB / 384.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.307, allocations: 158.6 kB / 384.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.3073, allocations: 292.2 kB / 384.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3074, allocations: 0 / 384.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005239/0.3079, allocations: 366.6 kB / 385 MB, free: 9.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3079, allocations: 5.641 kB / 385 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3079, allocations: 5.094 kB / 385 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.308, allocations: 3.375 kB / 385 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3084, allocations: 105.9 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3084, allocations: 3.281 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3085, allocations: 8.141 kB / 385.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3085, allocations: 16.38 kB / 385.1 MB, free: 9.715 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001218/0.3086, allocations: 152.7 kB / 385.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.3087, allocations: 31.16 kB / 385.3 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.3088, allocations: 47.8 kB / 385.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3088, allocations: 4.75 kB / 385.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.3088, allocations: 4.25 kB / 385.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3088, allocations: 4.953 kB / 385.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3102, allocations: 0.9417 MB / 386.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3102, allocations: 5.859 kB / 386.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.3108, allocations: 96.3 kB / 386.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3108, allocations: 3.344 kB / 386.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.3108, allocations: 12.22 kB / 386.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3108, allocations: 2.375 kB / 386.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3108, allocations: 4.969 kB / 386.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.3116, allocations: 0.6455 MB / 387.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3117, allocations: 98.75 kB / 387.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3117, allocations: 11.58 kB / 387.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3119, allocations: 12.73 kB / 387.2 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.3119, allocations: 26.98 kB / 387.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.312, allocations: 13.81 kB / 387.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.3121, allocations: 136.1 kB / 387.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3121, allocations: 0 / 387.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.3125, allocations: 82.31 kB / 387.4 MB, free: 8.234 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0009077/0.3134, allocations: 1.186 MB / 388.6 MB, free: 7.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005031/0.3139, allocations: 295 kB / 388.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3139, allocations: 3.938 kB / 388.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3141, allocations: 150.3 kB / 389.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.3148, allocations: 69.33 kB / 389.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.3188, allocations: 3.281 MB / 392.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3191, allocations: 0.7737 MB / 393.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.3193, allocations: 33.66 kB / 393.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3194, allocations: 99.67 kB / 393.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3194, allocations: 1.312 kB / 393.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.3527, allocations: 6.208 MB / 399.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.31, allocations: 8.984 kB / 399.5 MB, free: 2.836 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches