Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9139/0.9139, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.115e-05, allocations: 5.516 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003833/0.003854, allocations: 3.14 MB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.005477, allocations: 0.8145 MB / 410.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.005793, allocations: 8 kB / 410.8 MB, free: 9.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.006005, allocations: 79.22 kB / 410.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.006304, allocations: 134.7 kB / 411 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.006771, allocations: 135.8 kB / 411.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.007287, allocations: 0.5372 MB / 411.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.007551, allocations: 170.3 kB / 411.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.008011, allocations: 315.4 kB / 412.1 MB, free: 8.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.008214, allocations: 175.5 kB / 412.3 MB, free: 8.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.008278, allocations: 48 kB / 412.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.008328, allocations: 48 kB / 412.4 MB, free: 7.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.008397, allocations: 115.6 kB / 412.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.008527, allocations: 163.7 kB / 412.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.009085, allocations: 0.5762 MB / 413.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.009091, allocations: 0 / 413.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.009092, allocations: 0 / 413.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.009105, allocations: 0 / 413.3 MB, free: 7.066 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001078/0.01018, allocations: 0.6922 MB / 413.9 MB, free: 6.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.01023, allocations: 8.031 kB / 414 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/0.01031, allocations: 94.58 kB / 414 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.01038, allocations: 52.61 kB / 414.1 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.01086, allocations: 258.9 kB / 414.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.0109, allocations: 41.36 kB / 414.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.01096, allocations: 48.38 kB / 414.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.01156, allocations: 0.4993 MB / 414.9 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.01157, allocations: 192 / 414.9 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.0116, allocations: 24.12 kB / 415 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.01161, allocations: 12 kB / 415 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.01208, allocations: 324.4 kB / 415.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.01413, allocations: 1.524 MB / 416.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.01448, allocations: 225 kB / 417 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.01469, allocations: 125.7 kB / 417.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.01471, allocations: 7.938 kB / 417.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01474, allocations: 34.56 kB / 417.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.684e-06/0.01474, allocations: 0 / 417.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002023/0.01676, allocations: 1.131 MB / 418.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.01683, allocations: 81.11 kB / 418.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.01711, allocations: 265.8 kB / 418.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.01713, allocations: 33.7 kB / 418.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.01731, allocations: 264.1 kB / 419 MB, free: 1.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.01738, allocations: 130.9 kB / 419.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.01748, allocations: 70.2 kB / 419.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01761, allocations: 342.8 kB / 419.5 MB, free: 484 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.01779, allocations: 108.9 kB / 419.6 MB, free: 372 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.018, allocations: 209 kB / 419.8 MB, free: 120 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.01842, allocations: 355 kB / 420.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01843, allocations: 0 / 420.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005005/0.01893, allocations: 413.9 kB / 420.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.01895, allocations: 8 kB / 420.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.01896, allocations: 4 kB / 420.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.01909, allocations: 33.16 kB / 420.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.01934, allocations: 123.9 kB / 420.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008307/0.02018, allocations: 1.331 MB / 422 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.02031, allocations: 23.94 kB / 422.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.02033, allocations: 19.94 kB / 422.1 MB, free: 13.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.0205, allocations: 165.8 kB / 422.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.02054, allocations: 35.75 kB / 422.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.02059, allocations: 38.11 kB / 422.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.0206, allocations: 4 kB / 422.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.0206, allocations: 0 / 422.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02061, allocations: 0 / 422.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.02165, allocations: 0.6481 MB / 423 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02165, allocations: 4.031 kB / 423 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.02186, allocations: 87.94 kB / 423.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/0.02193, allocations: 36.78 kB / 423.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.02194, allocations: 7.938 kB / 423.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006319/0.02257, allocations: 1.327 MB / 424.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02258, allocations: 4.062 kB / 424.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.02317, allocations: 0.6039 MB / 425 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.02323, allocations: 43.83 kB / 425.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.02326, allocations: 11.98 kB / 425.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.02338, allocations: 19.98 kB / 425.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.02343, allocations: 31.89 kB / 425.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.02345, allocations: 12 kB / 425.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.02357, allocations: 181.2 kB / 425.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02357, allocations: 0 / 425.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000306/0.02387, allocations: 92 kB / 425.4 MB, free: 10.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008244/0.0247, allocations: 1.147 MB / 426.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.02524, allocations: 391.6 kB / 427 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02525, allocations: 4.062 kB / 427 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.02545, allocations: 242.5 kB / 427.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.02579, allocations: 40.28 kB / 427.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.02921, allocations: 3.398 MB / 430.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.02938, allocations: 207.8 kB / 430.8 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.02949, allocations: 42.88 kB / 430.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.02963, allocations: 140.5 kB / 431 MB, free: 4.266 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.02963, allocations: 0 / 431 MB, free: 4.266 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.05262, allocations: 7.258 MB / 438.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.993, allocations: 8 kB / 438.3 MB, free: 13.01 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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: 9.247667545452714]