Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2389, allocations: 50.55 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00355/0.2424, allocations: 2.12 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2436, allocations: 0.5765 MB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.2438, allocations: 11.88 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.2439, allocations: 31.72 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.2441, allocations: 51.48 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.2443, allocations: 51.95 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2446, allocations: 203.1 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2448, allocations: 81.14 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2449, allocations: 71.73 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2451, allocations: 87.55 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.2452, allocations: 16 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.2452, allocations: 16 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.2453, allocations: 39.91 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2454, allocations: 87.55 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.2457, allocations: 210.1 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2457, allocations: 4 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2457, allocations: 0 / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2458, allocations: 4 kB / 412.5 MB, free: 13.81 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007108/0.2465, allocations: 474.6 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2465, allocations: 12.03 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.2466, allocations: 50.73 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.2466, allocations: 16.84 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.2471, allocations: 232 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2471, allocations: 16.16 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.2471, allocations: 20.38 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.2475, allocations: 157.7 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.2475, allocations: 0 / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2475, allocations: 8 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2476, allocations: 7.938 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.2478, allocations: 103.7 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009576/0.2488, allocations: 0.5928 MB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.249, allocations: 122.5 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.2492, allocations: 44.84 kB / 414.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2492, allocations: 4 kB / 414.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2492, allocations: 34.56 kB / 414.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2492, allocations: 0 / 414.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001643/0.2509, allocations: 0.802 MB / 415.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2509, allocations: 55.41 kB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2511, allocations: 154.2 kB / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2511, allocations: 33.7 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.2513, allocations: 132.4 kB / 415.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.2514, allocations: 67.41 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.2515, allocations: 33.72 kB / 415.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2517, allocations: 330.8 kB / 415.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2518, allocations: 47.98 kB / 416 MB, free: 9.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2519, allocations: 74.78 kB / 416 MB, free: 9.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2522, allocations: 135.3 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2522, allocations: 0 / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000496/0.2527, allocations: 213.5 kB / 416.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2527, allocations: 4 kB / 416.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2527, allocations: 0 / 416.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.2529, allocations: 36.83 kB / 416.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2531, allocations: 31.98 kB / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.2547, allocations: 1.536 MB / 418 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.2548, allocations: 12.05 kB / 418 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2548, allocations: 8 kB / 418 MB, free: 7.773 MB / 334.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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.255, allocations: 133.7 kB / 418.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.255, allocations: 19.94 kB / 418.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.2551, allocations: 17.19 kB / 418.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2551, allocations: 4 kB / 418.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2551, allocations: 7.922 kB / 418.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2551, allocations: 4 kB / 418.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000888/0.256, allocations: 0.5865 MB / 418.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.256, allocations: 0 / 418.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.2562, allocations: 23.98 kB / 418.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.2563, allocations: 36.83 kB / 418.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2563, allocations: 8.188 kB / 418.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.258, allocations: 1.477 MB / 420.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2581, allocations: 0 / 420.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.2587, allocations: 346.2 kB / 420.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.2588, allocations: 93.03 kB / 420.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2588, allocations: 0 / 420.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2589, allocations: 8.125 kB / 420.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.259, allocations: 12.12 kB / 420.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.259, allocations: 8 kB / 420.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.2592, allocations: 120.1 kB / 420.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2592, allocations: 0 / 420.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000385/0.2596, allocations: 43.94 kB / 420.9 MB, free: 4.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009818/0.2605, allocations: 0.8757 MB / 421.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.2612, allocations: 250.5 kB / 422.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2612, allocations: 0 / 422.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.2615, allocations: 198.7 kB / 422.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.2619, allocations: 27.89 kB / 422.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.2653, allocations: 2.134 MB / 424.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.2659, allocations: 0.7242 MB / 425.1 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.413e-05/0.266, allocations: 17.55 kB / 425.2 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.2661, allocations: 51.36 kB / 425.2 MB, free: 144 kB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2661, allocations: 0 / 425.2 MB, free: 144 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.2971, allocations: 3.764 MB / 429 MB, free: 12.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.658/9.955, allocations: 4.672 kB / 429 MB, free: 12.5 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches