Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.0008728/0.0008728, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008563/0.0008563, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.939/0.939, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2449/0.2449, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.467e-05, allocations: 2.844 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.2075/0.2075, allocations: 3.243 MB / 445.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2089, allocations: 0.7906 MB / 446.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.2091, allocations: 12.12 kB / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2093, allocations: 78.69 kB / 446.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.2095, allocations: 136.3 kB / 446.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2098, allocations: 131.9 kB / 446.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.2101, allocations: 0.542 MB / 447.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.2103, allocations: 162.2 kB / 447.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.2106, allocations: 322.8 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.2107, allocations: 163.8 kB / 447.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2108, allocations: 53.61 kB / 447.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.2108, allocations: 47.53 kB / 447.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.2108, allocations: 111.7 kB / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.2109, allocations: 175.1 kB / 448.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.2113, allocations: 0.57 MB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2113, allocations: 0 / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2113, allocations: 3.938 kB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2113, allocations: 0 / 448.7 MB, free: 41.26 MB / 410.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.0007578/0.212, allocations: 0.6966 MB / 449.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2121, allocations: 8.688 kB / 449.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.2121, allocations: 88.69 kB / 449.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.2122, allocations: 59.3 kB / 449.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.2125, allocations: 259.1 kB / 449.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2125, allocations: 37.12 kB / 449.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.2126, allocations: 44.62 kB / 449.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.213, allocations: 0.5009 MB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2131, allocations: 3.125 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.2131, allocations: 26.38 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2131, allocations: 11.47 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.2135, allocations: 325.6 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2148, allocations: 1.512 MB / 452.2 MB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.2151, allocations: 233 kB / 452.5 MB, free: 38.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2154, allocations: 137 kB / 452.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2154, allocations: 6.125 kB / 452.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2154, allocations: 37.12 kB / 452.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.883e-06/0.2154, allocations: 0 / 452.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001624/0.217, allocations: 1.125 MB / 453.8 MB, free: 38.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.217, allocations: 86.89 kB / 453.8 MB, free: 37.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.2172, allocations: 263.2 kB / 454.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2172, allocations: 32.61 kB / 454.1 MB, free: 37.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.2173, allocations: 265 kB / 454.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.2174, allocations: 127.7 kB / 454.5 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.2175, allocations: 75.61 kB / 454.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.2175, allocations: 338.4 kB / 454.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.2177, allocations: 103.6 kB / 455 MB, free: 37.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2179, allocations: 221.3 kB / 455.2 MB, free: 36.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2183, allocations: 338.4 kB / 455.6 MB, free: 36.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2183, allocations: 3.938 kB / 455.6 MB, free: 36.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004881/0.2188, allocations: 419.1 kB / 456 MB, free: 36.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2188, allocations: 9.016 kB / 456 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2188, allocations: 2.844 kB / 456 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.2189, allocations: 29.28 kB / 456 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2192, allocations: 121.1 kB / 456.1 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005636/0.2197, allocations: 1.33 MB / 457.5 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2199, allocations: 19.75 kB / 457.5 MB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2199, allocations: 20.06 kB / 457.5 MB, free: 35.16 MB / 410.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.0001191/0.22, allocations: 166.8 kB / 457.7 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.22, allocations: 42.86 kB / 457.7 MB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.2201, allocations: 35.05 kB / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2201, allocations: 2.906 kB / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2201, allocations: 0 / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2201, allocations: 2.969 kB / 457.8 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.2207, allocations: 0.6467 MB / 458.4 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2207, allocations: 3.188 kB / 458.4 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2209, allocations: 97.62 kB / 458.5 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.028e-05/0.221, allocations: 26.44 kB / 458.5 MB, free: 34.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.221, allocations: 9.781 kB / 458.5 MB, free: 34.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004292/0.2214, allocations: 1.32 MB / 459.9 MB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2214, allocations: 0 / 459.9 MB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.2219, allocations: 0.6059 MB / 460.5 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.222, allocations: 45.61 kB / 460.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.222, allocations: 11.06 kB / 460.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2222, allocations: 20.64 kB / 460.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.2222, allocations: 31.98 kB / 460.6 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2222, allocations: 10.19 kB / 460.6 MB, free: 32.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.2223, allocations: 185.2 kB / 460.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2223, allocations: 0 / 460.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.2226, allocations: 93.66 kB / 460.8 MB, free: 32.64 MB / 410.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.0006309/0.2232, allocations: 1.147 MB / 462 MB, free: 31.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.2237, allocations: 388.5 kB / 462.4 MB, free: 31.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2237, allocations: 0.75 kB / 462.4 MB, free: 31.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.2239, allocations: 252.2 kB / 462.6 MB, free: 31.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2242, allocations: 50.14 kB / 462.7 MB, free: 31.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.2269, allocations: 3.397 MB / 466.1 MB, free: 29.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.227, allocations: 210.9 kB / 466.3 MB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.2271, allocations: 34.78 kB / 466.3 MB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2272, allocations: 140.6 kB / 466.4 MB, free: 28.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2272, allocations: 0 / 466.4 MB, free: 28.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.2493, allocations: 7.351 MB / 473.8 MB, free: 27.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.247, allocations: 3 kB / 473.8 MB, free: 27.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.371344381012022]