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.0009118/0.0009119, allocations: 96.92 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001824/0.0001824, allocations: 4 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09124, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.0029/0.09418, allocations: 1.947 MB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000532/0.09475, allocations: 199.2 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.09489, allocations: 7.938 kB / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.878e-05/0.09498, allocations: 27.77 kB / 361.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.09521, allocations: 59.55 kB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.09547, allocations: 39.95 kB / 361.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.0958, allocations: 227 kB / 361.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.09604, allocations: 95.23 kB / 361.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.09618, allocations: 75.72 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.09637, allocations: 87.56 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.09642, allocations: 12 kB / 362.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.09647, allocations: 12 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.09652, allocations: 39.83 kB / 362.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.09667, allocations: 129.2 kB / 362.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.09698, allocations: 239.3 kB / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09699, allocations: 0 / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.097, allocations: 0 / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.09702, allocations: 3.938 kB / 362.5 MB, free: 10 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.0007777/0.0978, allocations: 475.4 kB / 363 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.09786, allocations: 8.031 kB / 363 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.218e-05/0.09795, allocations: 62.72 kB / 363.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.09802, allocations: 24.66 kB / 363.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.09828, allocations: 224 kB / 363.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.09832, allocations: 16.94 kB / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.09838, allocations: 24.38 kB / 363.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.09887, allocations: 232.8 kB / 363.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.0989, allocations: 3.938 kB / 363.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.09894, allocations: 12 kB / 363.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.09896, allocations: 8 kB / 363.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.09931, allocations: 135.9 kB / 363.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1003, allocations: 0.8556 MB / 364.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.1006, allocations: 163.7 kB / 364.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.1007, allocations: 62.56 kB / 364.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.1007, allocations: 0 / 364.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1007, allocations: 46.48 kB / 364.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.745e-06/0.1007, allocations: 0 / 364.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003538/0.1011, allocations: 177.5 kB / 365 MB, free: 7.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1012, allocations: 106.8 kB / 365.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1014, allocations: 194.4 kB / 365.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1014, allocations: 37.64 kB / 365.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1015, allocations: 155.7 kB / 365.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.1015, allocations: 71.08 kB / 365.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1016, allocations: 33.7 kB / 365.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1017, allocations: 326.8 kB / 365.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.1018, allocations: 48.53 kB / 366 MB, free: 6.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1019, allocations: 159.6 kB / 366.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.1022, allocations: 221.5 kB / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1022, allocations: 0 / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003299/0.1025, allocations: 245.8 kB / 366.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1025, allocations: 8.375 kB / 366.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1026, allocations: 8 kB / 366.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1026, allocations: 8.188 kB / 366.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1028, allocations: 59.92 kB / 366.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1028, allocations: 7.984 kB / 366.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1029, allocations: 27.69 kB / 366.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.1029, allocations: 15.98 kB / 366.7 MB, free: 5.414 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.0001064/0.1031, allocations: 142.8 kB / 366.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.1031, allocations: 23.75 kB / 366.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.1032, allocations: 29.39 kB / 366.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1032, allocations: 0 / 366.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1032, allocations: 4 kB / 366.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1032, allocations: 3.938 kB / 366.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.1037, allocations: 420.9 kB / 367.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1037, allocations: 0 / 367.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.1039, allocations: 36.08 kB / 367.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1039, allocations: 8 kB / 367.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1039, allocations: 4 kB / 367.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1039, allocations: 4 kB / 367.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1039, allocations: 4.016 kB / 367.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.1043, allocations: 382 kB / 367.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1043, allocations: 96.89 kB / 367.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.1044, allocations: 8 kB / 367.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1045, allocations: 7.938 kB / 367.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1045, allocations: 19.86 kB / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1046, allocations: 4 kB / 367.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1047, allocations: 139.2 kB / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1047, allocations: 0 / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.105, allocations: 55.94 kB / 368.1 MB, free: 3.934 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.000552/0.1056, allocations: 0.904 MB / 369 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1058, allocations: 139.8 kB / 369.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1058, allocations: 0 / 369.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.1059, allocations: 55.86 kB / 369.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1063, allocations: 32.98 kB / 369.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1349/0.2412, allocations: 2.675 MB / 371.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2414, allocations: 0.7338 MB / 372.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.2415, allocations: 21.88 kB / 372.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.2416, allocations: 60.03 kB / 372.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2416, allocations: 0 / 372.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4118/0.6535, allocations: 3.399 MB / 376.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.6537, allocations: 200.6 kB / 376.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.67, allocations: 7.766 kB / 376.3 MB, free: 17.27 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