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.001927/0.001927, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2336, allocations: 50.55 MB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003567/0.2372, allocations: 2.494 MB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.2379, allocations: 251.1 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.2381, allocations: 7.938 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2383, allocations: 43.58 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2386, allocations: 91.19 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2388, allocations: 67.86 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.2391, allocations: 314.5 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.2393, allocations: 103.1 kB / 412.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2394, allocations: 119.6 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.2396, allocations: 135.4 kB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.2396, allocations: 28 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.011e-05/0.2396, allocations: 24 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.2397, allocations: 55.83 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2398, allocations: 143.3 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.2401, allocations: 316.6 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2401, allocations: 4 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2401, allocations: 0 / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2401, allocations: 0 / 412.9 MB, free: 13.32 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007435/0.2409, allocations: 0.5691 MB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2409, allocations: 8.031 kB / 413.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.241, allocations: 62.73 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.241, allocations: 28.66 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2413, allocations: 251.8 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2414, allocations: 24.88 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.2414, allocations: 36.36 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.2418, allocations: 255.1 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.2418, allocations: 15.78 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.2419, allocations: 8 kB / 414.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.2419, allocations: 8 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2422, allocations: 179.8 kB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.2431, allocations: 0.7461 MB / 415.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2435, allocations: 265.1 kB / 415.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2436, allocations: 133.6 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2437, allocations: 4 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2437, allocations: 34.56 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.2437, allocations: 0 / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.00251/0.2462, allocations: 1.718 MB / 417.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2463, allocations: 89.11 kB / 417.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2464, allocations: 187.1 kB / 417.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2465, allocations: 33.7 kB / 417.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.2466, allocations: 140.7 kB / 417.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2467, allocations: 173.5 kB / 417.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2468, allocations: 70.27 kB / 417.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2469, allocations: 342.8 kB / 418.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.2471, allocations: 101.1 kB / 418.3 MB, free: 7.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.2473, allocations: 165.5 kB / 418.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2476, allocations: 278.1 kB / 418.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2476, allocations: 0 / 418.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004815/0.2481, allocations: 373.7 kB / 419.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2482, allocations: 4 kB / 419.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2482, allocations: 0 / 419.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2482, allocations: 8.062 kB / 419.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.2486, allocations: 103.9 kB / 419.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2486, allocations: 0 / 419.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2487, allocations: 12 kB / 419.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2487, allocations: 16 kB / 419.3 MB, free: 6.496 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 (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.0001779/0.2489, allocations: 153.7 kB / 419.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.249, allocations: 35.66 kB / 419.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.2491, allocations: 37.86 kB / 419.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2491, allocations: 4 kB / 419.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2491, allocations: 4 kB / 419.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2491, allocations: 0 / 419.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2503, allocations: 0.9466 MB / 420.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2503, allocations: 4 kB / 420.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.2507, allocations: 95.89 kB / 420.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2508, allocations: 8 kB / 420.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2508, allocations: 11.94 kB / 420.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2508, allocations: 7.938 kB / 420.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2508, allocations: 0 / 420.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007005/0.2515, allocations: 0.6357 MB / 421.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.2516, allocations: 112.8 kB / 421.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.2516, allocations: 8 kB / 421.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2518, allocations: 11.94 kB / 421.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.2519, allocations: 31.91 kB / 421.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2519, allocations: 8 kB / 421.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.252, allocations: 135.1 kB / 421.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.252, allocations: 0 / 421.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.2524, allocations: 80 kB / 421.6 MB, free: 4.066 MB / 334.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.001024/0.2534, allocations: 1.188 MB / 422.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.2538, allocations: 300.4 kB / 423.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2539, allocations: 0 / 423.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2541, allocations: 167.9 kB / 423.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.2546, allocations: 68.25 kB / 423.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.2582, allocations: 3.262 MB / 426.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2585, allocations: 0.7764 MB / 427.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.2587, allocations: 34.95 kB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2588, allocations: 95.41 kB / 427.5 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2588, allocations: 0 / 427.5 MB, free: 14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.2832, allocations: 6.197 MB / 433.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.178, allocations: 3.984 kB / 433.7 MB, free: 7.934 MB / 350.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