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.001188/0.001188, allocations: 108.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001202, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.4 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 61.86 kB / 306.6 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09515, allocations: 50.52 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003777/0.09896, allocations: 2.545 MB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00069/0.09967, allocations: 251 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.09982, allocations: 4 kB / 359.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.09997, allocations: 31.75 kB / 359.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1002, allocations: 83.33 kB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1003, allocations: 51.95 kB / 360 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.1007, allocations: 318.5 kB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1009, allocations: 107.1 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1011, allocations: 111.6 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1012, allocations: 131.4 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.1013, allocations: 27.94 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.1013, allocations: 24 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.1014, allocations: 59.77 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.1017, allocations: 143.3 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1019, allocations: 311.1 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1019, allocations: 0 / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1019, allocations: 4 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.102, allocations: 0 / 361.2 MB, free: 10.09 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.0007638/0.1027, allocations: 0.5654 MB / 361.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1028, allocations: 15.97 kB / 361.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.1028, allocations: 58.73 kB / 361.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1029, allocations: 32.56 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1032, allocations: 251.9 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1032, allocations: 16.94 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1032, allocations: 36.28 kB / 362.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.1038, allocations: 255.1 kB / 362.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1038, allocations: 3.938 kB / 362.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.1038, allocations: 15.98 kB / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.1038, allocations: 8 kB / 362.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.1041, allocations: 175.9 kB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1051, allocations: 0.7497 MB / 363.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.1056, allocations: 279.3 kB / 363.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1057, allocations: 129.9 kB / 363.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.1058, allocations: 4 kB / 363.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.1059, allocations: 42.42 kB / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 5.18e-06/0.1059, allocations: 0 / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002701/0.1086, allocations: 1.702 MB / 365.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.1087, allocations: 93.03 kB / 365.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1088, allocations: 190.1 kB / 365.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1088, allocations: 29.7 kB / 365.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.1089, allocations: 140.7 kB / 366 MB, free: 4.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.109, allocations: 169.5 kB / 366.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1092, allocations: 82.16 kB / 366.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1093, allocations: 338.8 kB / 366.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.1095, allocations: 109.1 kB / 366.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.1099, allocations: 153.5 kB / 366.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.1103, allocations: 284.7 kB / 367.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1104, allocations: 0 / 367.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005044/0.1109, allocations: 361.9 kB / 367.5 MB, free: 3.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1109, allocations: 4 kB / 367.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1109, allocations: 7.969 kB / 367.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1109, allocations: 4 kB / 367.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.1114, allocations: 99.84 kB / 367.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1115, allocations: 4 kB / 367.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1117, allocations: 15.98 kB / 367.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1117, allocations: 16 kB / 367.6 MB, free: 3.273 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.0001341/0.1119, allocations: 157.7 kB / 367.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.1119, allocations: 35.56 kB / 367.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.112, allocations: 37.88 kB / 367.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.112, allocations: 4 kB / 367.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.112, allocations: 4 kB / 367.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.112, allocations: 3.984 kB / 367.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.1134, allocations: 0.9545 MB / 368.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1134, allocations: 0 / 368.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.1139, allocations: 95.89 kB / 368.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1139, allocations: 4 kB / 368.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.114, allocations: 12 kB / 368.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.114, allocations: 4.062 kB / 368.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.114, allocations: 4 kB / 368.9 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.1147, allocations: 0.6471 MB / 369.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.1148, allocations: 100.7 kB / 369.7 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1149, allocations: 12 kB / 369.7 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1151, allocations: 12 kB / 369.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1151, allocations: 27.95 kB / 369.7 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.1152, allocations: 16 kB / 369.7 MB, free: 1.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.1153, allocations: 131.2 kB / 369.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1153, allocations: 0 / 369.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.1156, allocations: 76 kB / 369.9 MB, free: 0.8281 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.1568/0.2725, allocations: 1.196 MB / 371.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006457/0.2732, allocations: 316.1 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2732, allocations: 0 / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.2734, allocations: 160.9 kB / 371.6 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.2742, allocations: 55.78 kB / 371.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.278, allocations: 3.383 MB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2783, allocations: 0.7758 MB / 375.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.2785, allocations: 36.8 kB / 375.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2786, allocations: 96.41 kB / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2786, allocations: 0 / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.3004, allocations: 5.906 MB / 381.8 MB, free: 16.54 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.3007, allocations: 220.5 kB / 382.1 MB, free: 16.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.165, allocations: 1.656 kB / 382.1 MB, free: 16.28 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