Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009834/0.0009834, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 60.16 kB / 307.1 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004118/0.1116, allocations: 2.499 MB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.1123, allocations: 251.1 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.1126, allocations: 11.94 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1128, allocations: 39.58 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.113, allocations: 91.19 kB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1132, allocations: 63.86 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.1137, allocations: 318.5 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1139, allocations: 103.1 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.114, allocations: 115.6 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1142, allocations: 135.4 kB / 361.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.1143, allocations: 24 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.1143, allocations: 24 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.1144, allocations: 51.84 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1145, allocations: 155.2 kB / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1148, allocations: 307.2 kB / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1148, allocations: 0 / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1148, allocations: 0 / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1149, allocations: 0 / 361.7 MB, free: 9.852 MB / 302.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.0008652/0.1157, allocations: 0.5692 MB / 362.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1158, allocations: 8.031 kB / 362.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.1159, allocations: 62.72 kB / 362.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1161, allocations: 32.56 kB / 362.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1164, allocations: 251.8 kB / 362.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1164, allocations: 24.88 kB / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.1165, allocations: 32.28 kB / 362.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.1169, allocations: 251.1 kB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.1169, allocations: 3.938 kB / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.117, allocations: 12 kB / 363 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.117, allocations: 4 kB / 363 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.1173, allocations: 179.8 kB / 363.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1183, allocations: 0.7536 MB / 363.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.1189, allocations: 265.3 kB / 364.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.1192, allocations: 133.9 kB / 364.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1192, allocations: 11.98 kB / 364.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1193, allocations: 30.56 kB / 364.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.605e-06/0.1193, allocations: 0 / 364.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.003006/0.1223, allocations: 1.706 MB / 366 MB, free: 5.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1223, allocations: 89.05 kB / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1225, allocations: 194.1 kB / 366.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1226, allocations: 29.7 kB / 366.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/0.1227, allocations: 140.7 kB / 366.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.1228, allocations: 173.5 kB / 366.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.123, allocations: 82.16 kB / 366.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1232, allocations: 338.8 kB / 367.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1234, allocations: 101.1 kB / 367.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1236, allocations: 161.5 kB / 367.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.124, allocations: 282.2 kB / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.124, allocations: 0 / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005149/0.1245, allocations: 369.8 kB / 368 MB, free: 3.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1246, allocations: 4 kB / 368 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1246, allocations: 0 / 368 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1246, allocations: 8.062 kB / 368 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.125, allocations: 99.89 kB / 368.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.125, allocations: 4 kB / 368.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1252, allocations: 12 kB / 368.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1252, allocations: 12 kB / 368.1 MB, free: 3.031 MB / 302.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.000249/0.1255, allocations: 157.7 kB / 368.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.1256, allocations: 35.56 kB / 368.3 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.1257, allocations: 41.86 kB / 368.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1257, allocations: 4 kB / 368.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1257, allocations: 4 kB / 368.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1257, allocations: 3.984 kB / 368.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1269, allocations: 0.9506 MB / 369.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.127, allocations: 3.938 kB / 369.3 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.1274, allocations: 95.89 kB / 369.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.1275, allocations: 4 kB / 369.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1275, allocations: 12 kB / 369.4 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1275, allocations: 3.938 kB / 369.4 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1275, allocations: 4 kB / 369.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.1284, allocations: 0.6433 MB / 370 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.1285, allocations: 100.7 kB / 370.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.1286, allocations: 15.94 kB / 370.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1287, allocations: 8 kB / 370.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1288, allocations: 27.91 kB / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1288, allocations: 23.98 kB / 370.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.204e-05/0.1289, allocations: 127.2 kB / 370.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1289, allocations: 0 / 370.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1293, allocations: 76 kB / 370.4 MB, free: 0.582 MB / 302.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.1786/0.3079, allocations: 1.187 MB / 371.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006747/0.3086, allocations: 312.6 kB / 371.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3086, allocations: 4.5 kB / 371.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.3089, allocations: 156.5 kB / 372.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.3096, allocations: 66.73 kB / 372.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.3132, allocations: 3.273 MB / 375.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3134, allocations: 0.779 MB / 376.2 MB, free: 16.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3136, allocations: 38.38 kB / 376.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3137, allocations: 95.58 kB / 376.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3137, allocations: 0 / 376.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.444, allocations: 5.999 MB / 382.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.095, allocations: 11.66 kB / 382.3 MB, free: 16.05 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches