Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 103 kB / 16.51 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 195.1 kB / 17.42 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001019, allocations: 42.17 kB / 300.1 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.08075, allocations: 49.46 MB / 349.5 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003307/0.08408, allocations: 2.529 MB / 352 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000517/0.08462, allocations: 247.1 kB / 352.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.08481, allocations: 7.938 kB / 352.3 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.08498, allocations: 27.77 kB / 352.3 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.08517, allocations: 83.38 kB / 352.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.08533, allocations: 55.88 kB / 352.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.08563, allocations: 306.5 kB / 352.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.0858, allocations: 83.67 kB / 352.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.08593, allocations: 103.6 kB / 352.9 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.08609, allocations: 127.4 kB / 353.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.08613, allocations: 16 kB / 353.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.08618, allocations: 20 kB / 353.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.08623, allocations: 47.83 kB / 353.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.08636, allocations: 139.3 kB / 353.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.08661, allocations: 299.2 kB / 353.6 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08662, allocations: 0 / 353.6 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.08663, allocations: 0 / 353.6 MB, free: 484 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.08665, allocations: 4 kB / 353.6 MB, free: 480 kB / 286.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.0007389/0.08739, allocations: 0.573 MB / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.08743, allocations: 8.031 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.0875, allocations: 62.72 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.08756, allocations: 36.56 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.08778, allocations: 243.8 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.0878, allocations: 20.94 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.08785, allocations: 24.38 kB / 354.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.08823, allocations: 247.2 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.08826, allocations: 11.83 kB / 354.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.08829, allocations: 12 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.08831, allocations: 8 kB / 354.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.08859, allocations: 191.7 kB / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.08953, allocations: 0.7419 MB / 355.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.08991, allocations: 275.6 kB / 356 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.09008, allocations: 125.7 kB / 356.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.09011, allocations: 4.625 kB / 356.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.09013, allocations: 38.56 kB / 356.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.09014, allocations: 0 / 356.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002423/0.09257, allocations: 1.718 MB / 357.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.09262, allocations: 85.11 kB / 358 MB, free: 11.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.09278, allocations: 182.3 kB / 358.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.09281, allocations: 33.7 kB / 358.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.0929, allocations: 136.7 kB / 358.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.09301, allocations: 173.5 kB / 358.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.09312, allocations: 74.27 kB / 358.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.09324, allocations: 346.7 kB / 358.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.09341, allocations: 101.1 kB / 359 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.09361, allocations: 165.4 kB / 359.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.09398, allocations: 270.2 kB / 359.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.09399, allocations: 3.938 kB / 359.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004832/0.09448, allocations: 373.8 kB / 359.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.0945, allocations: 4 kB / 359.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.09451, allocations: 8.062 kB / 359.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.09453, allocations: 0 / 359.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.0949, allocations: 103.9 kB / 359.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.09491, allocations: 3.938 kB / 359.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.09503, allocations: 12 kB / 359.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.09506, allocations: 16 kB / 359.9 MB, free: 9.648 MB / 302.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.0001283/0.09519, allocations: 145.8 kB / 360.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.09527, allocations: 31.66 kB / 360.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.09536, allocations: 41.86 kB / 360.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.09537, allocations: 8 kB / 360.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.09538, allocations: 0 / 360.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.09539, allocations: 4 kB / 360.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.09657, allocations: 0.9548 MB / 361.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.09658, allocations: 0 / 361.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.09698, allocations: 99.83 kB / 361.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.097, allocations: 4 kB / 361.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.09703, allocations: 12 kB / 361.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.09704, allocations: 8 kB / 361.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09705, allocations: 0 / 361.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.09776, allocations: 0.651 MB / 361.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.09784, allocations: 100.8 kB / 362 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.09788, allocations: 4 kB / 362 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.09805, allocations: 12 kB / 362 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.09811, allocations: 31.95 kB / 362 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.09813, allocations: 16 kB / 362 MB, free: 7.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.09823, allocations: 132.3 kB / 362.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.09823, allocations: 0 / 362.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000352/0.09859, allocations: 83.94 kB / 362.3 MB, free: 7.211 MB / 302.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.0009185/0.09951, allocations: 1.196 MB / 363.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.09995, allocations: 293.5 kB / 363.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.09996, allocations: 0 / 363.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1001, allocations: 159.8 kB / 363.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1007, allocations: 66.5 kB / 364 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.1044, allocations: 3.39 MB / 367.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1047, allocations: 0.7728 MB / 368.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.1049, allocations: 38.94 kB / 368.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.105, allocations: 95.41 kB / 368.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.105, allocations: 0 / 368.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4811/0.5861, allocations: 5.757 MB / 374 MB, free: 24.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.5864, allocations: 210.7 kB / 374.2 MB, free: 24.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.611, allocations: 0 / 374.2 MB, free: 24.54 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches