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.001307/0.001307, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001458, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2479, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00342/0.2513, allocations: 2.273 MB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.2518, allocations: 195.2 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.2519, allocations: 4 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.252, allocations: 39.59 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2522, allocations: 63.36 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.2523, allocations: 63.91 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2526, allocations: 227 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.2528, allocations: 110.6 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2529, allocations: 87.72 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2531, allocations: 99.55 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.2531, allocations: 20 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.2532, allocations: 24 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.2532, allocations: 47.83 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2534, allocations: 111.5 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.2537, allocations: 254 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2537, allocations: 3.938 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2537, allocations: 4 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2537, allocations: 0 / 412.4 MB, free: 13.85 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008419/0.2545, allocations: 0.5029 MB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2546, allocations: 16.03 kB / 412.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.849e-05/0.2547, allocations: 54.73 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.2547, allocations: 24.8 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.255, allocations: 228 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.255, allocations: 16.94 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.2551, allocations: 24.38 kB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.2555, allocations: 232.8 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2555, allocations: 7.938 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2555, allocations: 12 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2556, allocations: 8 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.2558, allocations: 131.8 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.257, allocations: 0.8635 MB / 414.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.2573, allocations: 159.7 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2574, allocations: 58.56 kB / 414.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2574, allocations: 8 kB / 414.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2575, allocations: 38.44 kB / 414.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2575, allocations: 0 / 414.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004031/0.2579, allocations: 173.7 kB / 414.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.2579, allocations: 106.8 kB / 415 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.2582, allocations: 207.5 kB / 415.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2582, allocations: 29.7 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2584, allocations: 160.1 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.2584, allocations: 75.41 kB / 415.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.2585, allocations: 42 kB / 415.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2587, allocations: 330.8 kB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.2588, allocations: 48.55 kB / 415.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.259, allocations: 163.5 kB / 416.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.2592, allocations: 217.5 kB / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2592, allocations: 0 / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003704/0.2596, allocations: 257.8 kB / 416.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2596, allocations: 4 kB / 416.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2597, allocations: 4 kB / 416.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2597, allocations: 8 kB / 416.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2599, allocations: 55.92 kB / 416.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.2599, allocations: 7.984 kB / 416.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2601, allocations: 23.84 kB / 416.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2601, allocations: 16.34 kB / 416.7 MB, free: 9.199 MB / 334.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.0001238/0.2602, allocations: 141.7 kB / 416.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.2603, allocations: 23.84 kB / 416.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.2604, allocations: 21.41 kB / 416.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2604, allocations: 7.922 kB / 416.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2604, allocations: 4 kB / 416.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2604, allocations: 0 / 416.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.2609, allocations: 420.9 kB / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.261, allocations: 0 / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2612, allocations: 39.98 kB / 417.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.2612, allocations: 7.984 kB / 417.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2612, allocations: 4 kB / 417.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.2612, allocations: 8.016 kB / 417.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2612, allocations: 3.984 kB / 417.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.2616, allocations: 391.6 kB / 417.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.2617, allocations: 92.95 kB / 417.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.2617, allocations: 8.031 kB / 417.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2619, allocations: 4 kB / 417.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2619, allocations: 19.86 kB / 417.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2619, allocations: 12 kB / 417.8 MB, free: 7.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.262, allocations: 131.2 kB / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.262, allocations: 0 / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000371/0.2624, allocations: 55.89 kB / 418 MB, free: 7.715 MB / 334.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.0007021/0.2631, allocations: 0.9093 MB / 418.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2634, allocations: 140.6 kB / 419.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2634, allocations: 0 / 419.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.2635, allocations: 59.98 kB / 419.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.264, allocations: 28.3 kB / 419.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.2669, allocations: 2.56 MB / 421.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.2673, allocations: 0.732 MB / 422.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.934e-05/0.2674, allocations: 25.88 kB / 422.5 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.2675, allocations: 55.42 kB / 422.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2675, allocations: 0 / 422.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.2943, allocations: 3.738 MB / 426.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.205, allocations: 14 kB / 426.3 MB, free: 15.3 MB / 350.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.1.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