Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, 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.001226/0.001226, allocations: 210.4 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.385/1.385, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 56.19 kB / 307 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1037, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003854/0.1076, allocations: 2.259 MB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.1083, allocations: 211.2 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.1085, allocations: 4 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.1087, allocations: 31.66 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.109, allocations: 63.41 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1092, allocations: 55.94 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1096, allocations: 239 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.1099, allocations: 110.5 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.11, allocations: 91.64 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1102, allocations: 103.5 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.1102, allocations: 20 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.059e-05/0.1103, allocations: 20 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.1103, allocations: 47.84 kB / 360.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1104, allocations: 111.5 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1107, allocations: 255.3 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1107, allocations: 4 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1107, allocations: 4 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1107, allocations: 0 / 361.2 MB, free: 10.35 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007829/0.1115, allocations: 0.4916 MB / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1116, allocations: 16.03 kB / 361.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.1117, allocations: 62.72 kB / 361.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.1117, allocations: 24.66 kB / 361.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.112, allocations: 219.9 kB / 362 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.112, allocations: 20.94 kB / 362 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.112, allocations: 20.38 kB / 362 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.1124, allocations: 232.9 kB / 362.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.1124, allocations: 15.86 kB / 362.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1125, allocations: 8 kB / 362.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1125, allocations: 8 kB / 362.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1127, allocations: 131.8 kB / 362.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1139, allocations: 0.8557 MB / 363.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1141, allocations: 155.9 kB / 363.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.1142, allocations: 66.7 kB / 363.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.1143, allocations: 0 / 363.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1143, allocations: 50.38 kB / 363.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.1143, allocations: 4 kB / 363.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003708/0.1147, allocations: 161.4 kB / 363.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.1148, allocations: 110.8 kB / 363.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1149, allocations: 198.3 kB / 364 MB, free: 7.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.115, allocations: 33.7 kB / 364 MB, free: 7.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1151, allocations: 155.8 kB / 364.2 MB, free: 7.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.1152, allocations: 59.11 kB / 364.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.1152, allocations: 61.83 kB / 364.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1154, allocations: 334.8 kB / 364.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.1154, allocations: 44.55 kB / 364.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1156, allocations: 151.7 kB / 364.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1159, allocations: 222.1 kB / 365 MB, free: 6.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1159, allocations: 8 kB / 365 MB, free: 6.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003499/0.1163, allocations: 237.1 kB / 365.3 MB, free: 5.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1163, allocations: 8 kB / 365.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1163, allocations: 4.438 kB / 365.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1163, allocations: 8 kB / 365.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1165, allocations: 63.91 kB / 365.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.1166, allocations: 15.94 kB / 365.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1167, allocations: 27.69 kB / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1167, allocations: 8 kB / 365.4 MB, free: 5.719 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001115/0.1169, allocations: 142.8 kB / 365.6 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.1169, allocations: 23.73 kB / 365.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.117, allocations: 21.41 kB / 365.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.117, allocations: 8.188 kB / 365.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.117, allocations: 0 / 365.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.117, allocations: 11.97 kB / 365.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.1177, allocations: 416.9 kB / 366 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1177, allocations: 0 / 366 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.118, allocations: 39.92 kB / 366.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.118, allocations: 0 / 366.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.118, allocations: 8.094 kB / 366.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.118, allocations: 4 kB / 366.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.118, allocations: 4 kB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.1184, allocations: 376.9 kB / 366.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.1185, allocations: 112.7 kB / 366.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1185, allocations: 4 kB / 366.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1187, allocations: 4 kB / 366.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.1187, allocations: 11.97 kB / 366.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1187, allocations: 8 kB / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1188, allocations: 139.2 kB / 366.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 0 / 366.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1192, allocations: 55.84 kB / 366.8 MB, free: 4.238 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0006014/0.1198, allocations: 0.9083 MB / 367.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1201, allocations: 155.7 kB / 367.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1201, allocations: 0 / 367.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.1202, allocations: 51.92 kB / 367.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.1207, allocations: 36.42 kB / 367.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.1234, allocations: 2.534 MB / 370.5 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.16/0.2834, allocations: 0.7313 MB / 371.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2836, allocations: 20.06 kB / 371.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2838, allocations: 56.44 kB / 371.3 MB, free: 19.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.282e-06/0.2838, allocations: 1.094 kB / 371.3 MB, free: 19.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.3272, allocations: 3.655 MB / 374.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.677, allocations: 11.98 kB / 374.9 MB, free: 18.68 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches