Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 109.4 kB / 18.36 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB 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.001156/0.001156, allocations: 47.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1033, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005044/0.1084, allocations: 3.345 MB / 332.1 MB, free: 388 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.111, allocations: 1.396 MB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1112, allocations: 4 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.1139, allocations: 2.663 MB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.1144, allocations: 174.7 kB / 336.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.115, allocations: 279.5 kB / 336.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1167, allocations: 1.798 MB / 338.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.1169, allocations: 135.2 kB / 338.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.1172, allocations: 309 kB / 338.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.1177, allocations: 322.9 kB / 339.1 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1179, allocations: 44 kB / 339.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.1181, allocations: 71.98 kB / 339.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006901/0.1188, allocations: 0.8452 MB / 340.1 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006956/0.1195, allocations: 0.9424 MB / 341 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1214, allocations: 2.608 MB / 343.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1214, allocations: 0 / 343.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1214, allocations: 0 / 343.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.1214, allocations: 0 / 343.6 MB, free: 4.77 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003725/0.1251, allocations: 2.786 MB / 346.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1252, allocations: 12.03 kB / 346.4 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.1255, allocations: 281.2 kB / 346.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.128, allocations: 1.832 MB / 348.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.1281, allocations: 59.27 kB / 348.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.1283, allocations: 47.92 kB / 348.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.129, allocations: 395 kB / 349 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.129, allocations: 7.922 kB / 349 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1291, allocations: 16 kB / 349.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1291, allocations: 11.94 kB / 349.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.1298, allocations: 331.8 kB / 349.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.1337, allocations: 2.895 MB / 352.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.1344, allocations: 316.9 kB / 352.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.1347, allocations: 161.7 kB / 352.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.1348, allocations: 4 kB / 352.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.1348, allocations: 47.03 kB / 352.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.1348, allocations: 0 / 352.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004286/0.1391, allocations: 2.359 MB / 355.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1392, allocations: 85.58 kB / 355.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005569/0.1447, allocations: 5.439 MB / 360.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.1448, allocations: 33.7 kB / 360.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.1458, allocations: 1.203 MB / 361.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.146, allocations: 169.5 kB / 362.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.1461, allocations: 86.25 kB / 362.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.1462, allocations: 326 kB / 362.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.1465, allocations: 137.1 kB / 362.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1469, allocations: 225.7 kB / 362.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.1475, allocations: 388.3 kB / 363.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1476, allocations: 4 kB / 363.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001104/0.1487, allocations: 0.68 MB / 363.9 MB, free: 40 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1487, allocations: 8 kB / 363.9 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1487, allocations: 0 / 363.9 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1487, allocations: 8 kB / 363.9 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.1493, allocations: 128.1 kB / 364 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1493, allocations: 4 kB / 364.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.1497, allocations: 19.92 kB / 364.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.1497, allocations: 20 kB / 364.1 MB, free: 15.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0009361/0.1507, allocations: 0.9153 MB / 365 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.151, allocations: 276.4 kB / 365.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1523, allocations: 0.7786 MB / 366.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1523, allocations: 4 kB / 366.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1523, allocations: 0 / 366.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1524, allocations: 3.984 kB / 366.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.1539, allocations: 1.469 MB / 367.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1539, allocations: 0 / 367.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.1544, allocations: 95.88 kB / 367.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/0.1547, allocations: 84.8 kB / 367.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1548, allocations: 19.92 kB / 367.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005257/0.1553, allocations: 0.6342 MB / 368.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1553, allocations: 8.094 kB / 368.4 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.1568, allocations: 1.054 MB / 369.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/0.1578, allocations: 493.6 kB / 369.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.1579, allocations: 19.98 kB / 369.9 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.1584, allocations: 12 kB / 369.9 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.1585, allocations: 32.39 kB / 370 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1585, allocations: 15.98 kB / 370 MB, free: 9.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004203/0.1627, allocations: 3.97 MB / 374 MB, free: 5.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 374 MB, free: 5.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006645/0.1634, allocations: 204 kB / 374.2 MB, free: 5.656 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1645, allocations: 433.5 kB / 374.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008028/0.1653, allocations: 376.8 kB / 374.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1653, allocations: 4.5 kB / 374.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.1658, allocations: 218.4 kB / 375.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.1667, allocations: 195.1 kB / 375.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1612/0.3279, allocations: 5.394 MB / 380.7 MB, free: 52.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.3297, allocations: 1.817 MB / 382.6 MB, free: 52.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006768/0.3304, allocations: 270.3 kB / 382.8 MB, free: 52.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.3307, allocations: 87.45 kB / 382.9 MB, free: 52.18 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3307, allocations: 0 / 382.9 MB, free: 52.18 MB / 318.1 MB Notification: Performance of Templates: time 0.03124/0.3619, allocations: 15.25 MB / 398.2 MB, free: 46 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches