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.001145/0.001145, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001121/0.001121, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.366/1.366, allocations: 205.1 MB / 224.7 MB, free: 12.31 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.001151/0.001151, allocations: 43.94 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08738, allocations: 46.63 MB / 327.4 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004565/0.09198, allocations: 3.38 MB / 330.8 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.09424, allocations: 1.377 MB / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.09449, allocations: 12 kB / 332.2 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.09652, allocations: 1.809 MB / 334 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.09699, allocations: 147.1 kB / 334.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.09764, allocations: 251.6 kB / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.09929, allocations: 1.79 MB / 336.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.09952, allocations: 135.3 kB / 336.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.09988, allocations: 313 kB / 336.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.1002, allocations: 322.8 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.1003, allocations: 48 kB / 337 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1005, allocations: 71.94 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.101, allocations: 0.8453 MB / 337.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.1016, allocations: 0.9424 MB / 338.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.1032, allocations: 2.164 MB / 341 MB, free: 7.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1032, allocations: 0 / 341 MB, free: 7.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1032, allocations: 0 / 341 MB, free: 7.129 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.1033, allocations: 0 / 341 MB, free: 7.129 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.00371/0.107, allocations: 2.79 MB / 343.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.107, allocations: 12.03 kB / 343.8 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.1074, allocations: 285.3 kB / 344.1 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.1095, allocations: 1.828 MB / 345.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.1096, allocations: 59.27 kB / 346 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.1098, allocations: 47.92 kB / 346 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.1105, allocations: 391 kB / 346.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1106, allocations: 0 / 346.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.1106, allocations: 16 kB / 346.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1106, allocations: 12 kB / 346.4 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/0.1113, allocations: 331.7 kB / 346.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.1152, allocations: 2.903 MB / 349.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.1159, allocations: 320.9 kB / 350 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1162, allocations: 161.7 kB / 350.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1163, allocations: 4 kB / 350.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1163, allocations: 55.02 kB / 350.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/0.1163, allocations: 0 / 350.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004807/0.1211, allocations: 2.366 MB / 352.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1212, allocations: 81.55 kB / 352.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/0.1273, allocations: 5.431 MB / 358.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/0.1274, allocations: 37.7 kB / 358.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.1284, allocations: 1.207 MB / 359.3 MB, free: 4.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.1286, allocations: 173.5 kB / 359.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1287, allocations: 86.25 kB / 359.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1289, allocations: 325.9 kB / 359.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.1292, allocations: 145 kB / 360 MB, free: 3.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.1296, allocations: 221.7 kB / 360.2 MB, free: 3.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.1303, allocations: 384.3 kB / 360.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1303, allocations: 4 kB / 360.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001327/0.1316, allocations: 0.6839 MB / 361.3 MB, free: 2.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1317, allocations: 4 kB / 361.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1317, allocations: 4 kB / 361.3 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1317, allocations: 4 kB / 361.3 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.1322, allocations: 119.8 kB / 361.4 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1322, allocations: 4 kB / 361.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.1327, allocations: 24.17 kB / 361.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.1328, allocations: 20 kB / 361.5 MB, free: 2.203 MB / 302.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.001067/0.1338, allocations: 0.9153 MB / 362.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.1342, allocations: 272.4 kB / 362.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1356, allocations: 0.7786 MB / 363.4 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1356, allocations: 8 kB / 363.5 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1357, allocations: 0 / 363.5 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1357, allocations: 0 / 363.5 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.1373, allocations: 1.477 MB / 364.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1373, allocations: 0 / 364.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.1379, allocations: 103.8 kB / 365 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.1383, allocations: 88.78 kB / 365.1 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1384, allocations: 12 kB / 365.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005757/0.139, allocations: 0.6303 MB / 365.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.139, allocations: 4 kB / 365.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.1406, allocations: 1.061 MB / 366.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006853/0.1413, allocations: 493.6 kB / 367.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.1415, allocations: 8 kB / 367.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.142, allocations: 23.98 kB / 367.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.1421, allocations: 24.41 kB / 367.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1421, allocations: 19.98 kB / 367.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004338/0.1465, allocations: 3.966 MB / 371.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1465, allocations: 0 / 371.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008029/0.1473, allocations: 212 kB / 371.6 MB, free: 7.996 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.0009665/0.1483, allocations: 414.6 kB / 372 MB, free: 7.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009537/0.1493, allocations: 408.8 kB / 372.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.1493, allocations: 4 kB / 372.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.1497, allocations: 222.8 kB / 372.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.1509, allocations: 187.2 kB / 372.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/0.1584, allocations: 6.21 MB / 379 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1518/0.3103, allocations: 1.812 MB / 380.8 MB, free: 52.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.311, allocations: 94.98 kB / 380.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of SimCode: time 9.51e-07/0.311, allocations: 0 / 380.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of Templates: time 0.05471/0.3657, allocations: 35.78 MB / 416.7 MB, free: 26.93 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 -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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches