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.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.0009915/0.0009915, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00689/0.00689, allocations: 164.3 kB / 24.7 MB, free: 8.887 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.9115/0.9115, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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(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: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.308e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003677/0.0037, allocations: 2.614 MB / 301 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.125/0.1287, allocations: 1.181 MB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.1291, allocations: 5.719 kB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1295, allocations: 61.23 kB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006406/0.1301, allocations: 234.3 kB / 302.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1304, allocations: 116.9 kB / 302.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.1308, allocations: 477.2 kB / 303.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1309, allocations: 56.89 kB / 303.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.1313, allocations: 270.7 kB / 303.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.1315, allocations: 171.1 kB / 303.6 MB, free: 13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.1316, allocations: 40.84 kB / 303.6 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.1319, allocations: 158.9 kB / 303.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.1319, allocations: 98.14 kB / 303.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1321, allocations: 134.2 kB / 304 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.1327, allocations: 0.5419 MB / 304.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1327, allocations: 0 / 304.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1327, allocations: 0 / 304.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1327, allocations: 0 / 304.6 MB, free: 12.91 MB / 282.7 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.00102/0.1337, allocations: 0.6384 MB / 305.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1337, allocations: 12.98 kB / 305.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.1338, allocations: 62.88 kB / 305.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.1339, allocations: 35.53 kB / 305.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.1342, allocations: 270.7 kB / 305.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.1343, allocations: 104.4 kB / 305.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1344, allocations: 42.05 kB / 305.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.1349, allocations: 350 kB / 306 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1349, allocations: 5.094 kB / 306.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1349, allocations: 10.28 kB / 306.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1349, allocations: 6.438 kB / 306.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.1354, allocations: 303 kB / 306.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1366, allocations: 1.046 MB / 307.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.137, allocations: 285.3 kB / 307.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1372, allocations: 154 kB / 307.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1372, allocations: 6.531 kB / 307.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.1372, allocations: 34.44 kB / 307.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.764e-06/0.1372, allocations: 0 / 307.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.004954/0.1422, allocations: 2.269 MB / 310.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.1422, allocations: 82.14 kB / 310.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1425, allocations: 294.4 kB / 310.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1425, allocations: 35.05 kB / 310.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.1425, allocations: 174.5 kB / 310.7 MB, free: 9.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1426, allocations: 153.6 kB / 310.9 MB, free: 9.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.1427, allocations: 83.41 kB / 311 MB, free: 9.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.1428, allocations: 338.3 kB / 311.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.143, allocations: 162.3 kB / 311.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1433, allocations: 228.7 kB / 311.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.1438, allocations: 401.1 kB / 312.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1438, allocations: 1.375 kB / 312.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006241/0.1444, allocations: 0.4887 MB / 312.5 MB, free: 8.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1444, allocations: 10.06 kB / 312.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1444, allocations: 1.859 kB / 312.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1444, allocations: 4.375 kB / 312.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.1447, allocations: 119.7 kB / 312.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1448, allocations: 3.859 kB / 312.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1449, allocations: 32.55 kB / 312.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.145, allocations: 19.33 kB / 312.7 MB, free: 8.566 MB / 282.7 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.0001084/0.1451, allocations: 149.6 kB / 312.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1451, allocations: 43.38 kB / 312.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.1462, allocations: 0.644 MB / 313.6 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1462, allocations: 5.5 kB / 313.6 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1462, allocations: 1.375 kB / 313.6 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.1462, allocations: 2.484 kB / 313.6 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.148, allocations: 1.179 MB / 314.8 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.148, allocations: 0 / 314.8 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.1483, allocations: 90.16 kB / 314.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008012/0.1491, allocations: 270.4 kB / 315.1 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.1491, allocations: 10.05 kB / 315.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.1513, allocations: 2.297 MB / 317.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1513, allocations: 1.812 kB / 317.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.1526, allocations: 1.005 MB / 318.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1528, allocations: 78.06 kB / 318.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.1528, allocations: 11.52 kB / 318.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.153, allocations: 29.16 kB / 318.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.1531, allocations: 41.97 kB / 318.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1531, allocations: 12.88 kB / 318.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1533, allocations: 215.1 kB / 318.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1533, allocations: 5.281 kB / 318.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004763/0.1538, allocations: 113 kB / 318.9 MB, free: 4.961 MB / 282.7 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.001621/0.1554, allocations: 1.586 MB / 320.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.156, allocations: 416.5 kB / 320.9 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.156, allocations: 0 / 320.9 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.1565, allocations: 366.1 kB / 321.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1569, allocations: 40.7 kB / 321.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.1607, allocations: 3.755 MB / 325.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.1608, allocations: 178.2 kB / 325.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.161, allocations: 44.23 kB / 325.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1611, allocations: 116.8 kB / 325.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.1611, allocations: 4 kB / 325.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.1881, allocations: 10.24 MB / 335.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.088, allocations: 4 kB / 335.6 MB, free: 8.457 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.80975840613246]