Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.93 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2855, allocations: 66.07 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002291/0.2878, allocations: 1.218 MB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007879/0.2886, allocations: 423.9 kB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.2886, allocations: 4 kB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.2886, allocations: 0 / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.54e-05/0.2886, allocations: 0 / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.2891, allocations: 71.73 kB / 0.5632 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.2892, allocations: 8 kB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.2892, allocations: 0 / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.351e-05/0.2892, allocations: 0 / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.2894, allocations: 43.69 kB / 0.5632 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-06/0.2895, allocations: 0 / 0.5632 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.2895, allocations: 12 kB / 0.5632 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-06/0.2895, allocations: 0 / 0.5632 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.2895, allocations: 4 kB / 0.5632 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.265e-05/0.2896, allocations: 11.97 kB / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2896, allocations: 0 / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2896, allocations: 0 / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2896, allocations: 0 / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002722/0.2899, allocations: 242.5 kB / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2899, allocations: 12.03 kB / 0.5635 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.409e-05/0.2899, allocations: 4.188 kB / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.29, allocations: 34.69 kB / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2901, allocations: 4.938 kB / 0.5635 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.2902, allocations: 102.5 kB / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.2902, allocations: 384 / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-06/0.2902, allocations: 8.312 kB / 0.5636 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.2903, allocations: 38 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.2903, allocations: 0 / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2903, allocations: 0 / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2903, allocations: 7.984 kB / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.2903, allocations: 0 / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.2906, allocations: 356.6 kB / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.2907, allocations: 169.2 kB / 0.5642 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.2908, allocations: 88.06 kB / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2908, allocations: 79.28 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.2908, allocations: 105.8 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2908, allocations: 0 / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.208e-05/0.2909, allocations: 37.59 kB / 0.5645 GB, free: 1.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.291, allocations: 126.7 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.2911, allocations: 93.86 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2911, allocations: 29.83 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.2911, allocations: 80.14 kB / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.2911, allocations: 0 / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.2911, allocations: 13.72 kB / 0.5648 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2913, allocations: 318.8 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-06/0.2913, allocations: 32 / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.2913, allocations: 0 / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.2913, allocations: 16.86 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2913, allocations: 4 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.247e-05/0.2914, allocations: 33.64 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2914, allocations: 6.188 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2914, allocations: 0 / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2914, allocations: 4 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.371e-05/0.2915, allocations: 0 / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2915, allocations: 3.984 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.2915, allocations: 7.984 kB / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.2915, allocations: 0 / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001133/0.2916, allocations: 193.1 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.2917, allocations: 105 kB / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.427e-05/0.2917, allocations: 111.7 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/0.2918, allocations: 176.3 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001149/0.2919, allocations: 188.2 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-05/0.292, allocations: 180.3 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.2923, allocations: 373.3 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/0.2923, allocations: 108.9 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.2924, allocations: 105 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.602e-05/0.2924, allocations: 180.2 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.2925, allocations: 180.2 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.799e-05/0.2926, allocations: 188.2 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.745e-05/0.2927, allocations: 184.2 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.2929, allocations: 307.9 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.2929, allocations: 105 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.293, allocations: 192.2 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.2931, allocations: 105 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.2932, allocations: 180.2 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.2933, allocations: 104.9 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.2933, allocations: 75.28 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2933, allocations: 4 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.2935, allocations: 0 / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004609/0.294, allocations: 0.8049 MB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.735e-05/0.2941, allocations: 7.938 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2941, allocations: 0 / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2941, allocations: 0 / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.2945, allocations: 459.8 kB / 0.5696 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.2948, allocations: 182.6 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2951, allocations: 0.6729 MB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.668e-05/0.2952, allocations: 0 / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.2952, allocations: 7.438 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2952, allocations: 4 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.3134, allocations: 1.017 MB / 0.5714 GB, free: 9.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.97, allocations: 15.36 kB / 0.5715 GB, free: 9.711 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.731905386026483]