Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 122.2 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 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 1.458/1.458, allocations: 207.6 MB / 231.8 MB, free: 3.977 MB / 174.1 MB " [Timeout remaining time 178] 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.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.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 59.91 kB / 342.2 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 49.12 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004329/0.1097, allocations: 2.773 MB / 394.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1119, allocations: 1.293 MB / 395.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1121, allocations: 4 kB / 395.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1124, allocations: 71.34 kB / 395.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.113, allocations: 230.7 kB / 395.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1132, allocations: 115.8 kB / 395.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1138, allocations: 463 kB / 396.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1139, allocations: 68.45 kB / 396.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.1142, allocations: 187.4 kB / 396.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1145, allocations: 219.2 kB / 396.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.1146, allocations: 40 kB / 396.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.1148, allocations: 163.9 kB / 397 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.1149, allocations: 95.64 kB / 397.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1151, allocations: 187.2 kB / 397.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.1158, allocations: 0.5019 MB / 397.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1158, allocations: 4 kB / 397.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1158, allocations: 4 kB / 397.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1158, allocations: 0 / 397.8 MB, free: 2.316 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001713/0.1175, allocations: 0.7129 MB / 398.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1175, allocations: 8.031 kB / 398.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.017e-05/0.1176, allocations: 62.73 kB / 398.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.1177, allocations: 36.75 kB / 398.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.1183, allocations: 333.1 kB / 398.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/0.1184, allocations: 58.81 kB / 399 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.1185, allocations: 36.27 kB / 399 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.1192, allocations: 324.5 kB / 399.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1192, allocations: 0 / 399.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.1192, allocations: 12 kB / 399.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1192, allocations: 4 kB / 399.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.1199, allocations: 302 kB / 399.6 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1218, allocations: 1.164 MB / 400.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.1224, allocations: 277 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.1227, allocations: 165.5 kB / 401.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1227, allocations: 4 kB / 401.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1228, allocations: 34.56 kB / 401.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 3.386e-06/0.1228, allocations: 3.984 kB / 401.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009264/0.132, allocations: 2.414 MB / 403.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1321, allocations: 81.11 kB / 403.7 MB, free: 12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1325, allocations: 289 kB / 404 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.1325, allocations: 33.7 kB / 404.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1326, allocations: 172.6 kB / 404.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1327, allocations: 150.7 kB / 404.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1329, allocations: 90 kB / 404.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1331, allocations: 342.8 kB / 404.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.1334, allocations: 160.8 kB / 405 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.1339, allocations: 234.7 kB / 405.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.1347, allocations: 403.5 kB / 405.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1347, allocations: 4 kB / 405.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001065/0.1358, allocations: 488.8 kB / 406.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1358, allocations: 8 kB / 406.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1358, allocations: 0 / 406.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1359, allocations: 4 kB / 406.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.1365, allocations: 115.8 kB / 406.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.1365, allocations: 7.984 kB / 406.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.1369, allocations: 44 kB / 406.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.1369, allocations: 16 kB / 406.3 MB, free: 9.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001847/0.1371, allocations: 149.7 kB / 406.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.1372, allocations: 31.81 kB / 406.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.139, allocations: 0.6486 MB / 407.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.139, allocations: 8 kB / 407.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.139, allocations: 0 / 407.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.139, allocations: 0 / 407.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.1423, allocations: 1.276 MB / 408.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.1423, allocations: 0 / 408.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.1427, allocations: 91.88 kB / 408.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.1443, allocations: 268.6 kB / 408.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.1444, allocations: 15.92 kB / 408.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.1485, allocations: 2.443 MB / 411.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1485, allocations: 4.031 kB / 411.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.1508, allocations: 1.008 MB / 412.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.151, allocations: 152.8 kB / 412.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.151, allocations: 12 kB / 412.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.1515, allocations: 27.97 kB / 412.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.1516, allocations: 40.39 kB / 412.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.1517, allocations: 12 kB / 412.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.1519, allocations: 216.4 kB / 412.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1519, allocations: 0 / 412.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.1525, allocations: 119.9 kB / 412.7 MB, free: 2.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/0.1553, allocations: 1.579 MB / 414.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1563, allocations: 422.1 kB / 414.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1563, allocations: 0 / 414.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.157, allocations: 365 kB / 415.1 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.1575, allocations: 40.94 kB / 415.1 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.1634, allocations: 3.865 MB / 419 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1638, allocations: 0.7929 MB / 419.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.164, allocations: 42.97 kB / 419.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.1642, allocations: 115.4 kB / 419.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1642, allocations: 0 / 419.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.209, allocations: 9.727 MB / 429.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.53, allocations: 3.938 kB / 429.7 MB, free: 1.461 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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: 15.22265641298145]