Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.002133/0.002133, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09403, allocations: 52.15 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004798/0.09883, allocations: 3.422 MB / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1012, allocations: 1.45 MB / 423.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.1013, allocations: 4 kB / 423.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.1044, allocations: 2.663 MB / 426.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.1048, allocations: 174.7 kB / 426.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.1055, allocations: 305.9 kB / 427 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.1073, allocations: 1.802 MB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1075, allocations: 99.28 kB / 428.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1079, allocations: 309.1 kB / 429.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.1083, allocations: 350.8 kB / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.423e-05/0.1084, allocations: 44 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1086, allocations: 83.98 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006487/0.1092, allocations: 0.853 MB / 430.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007681/0.11, allocations: 0.9346 MB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.1124, allocations: 2.63 MB / 434.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1124, allocations: 0 / 434.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1124, allocations: 0 / 434.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.1124, allocations: 4 kB / 434.1 MB, free: 12.95 MB / 366.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.003865/0.1163, allocations: 2.899 MB / 437 MB, free: 9.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1163, allocations: 8.031 kB / 437 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.1167, allocations: 295 kB / 437.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.1191, allocations: 1.854 MB / 439.1 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.1192, allocations: 59.27 kB / 439.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1193, allocations: 47.92 kB / 439.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.1201, allocations: 399 kB / 439.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1201, allocations: 0 / 439.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.1201, allocations: 12 kB / 439.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1201, allocations: 8 kB / 439.6 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.1209, allocations: 331.7 kB / 439.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.125, allocations: 2.903 MB / 442.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.1258, allocations: 308.8 kB / 443.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.1261, allocations: 156.3 kB / 443.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1261, allocations: 7.984 kB / 443.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.1262, allocations: 50.3 kB / 443.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.804e-06/0.1262, allocations: 0 / 443.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005072/0.1313, allocations: 2.444 MB / 445.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1313, allocations: 85.53 kB / 445.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1915/0.3228, allocations: 5.43 MB / 451.3 MB, free: 28.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.3229, allocations: 31.7 kB / 451.3 MB, free: 28.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009164/0.3238, allocations: 1.208 MB / 452.6 MB, free: 27.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.324, allocations: 177.5 kB / 452.7 MB, free: 27.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3241, allocations: 88.28 kB / 452.8 MB, free: 27.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.3242, allocations: 328.6 kB / 453.1 MB, free: 27.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.3246, allocations: 138.8 kB / 453.3 MB, free: 27.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.325, allocations: 223 kB / 453.5 MB, free: 27.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.3257, allocations: 381.5 kB / 453.9 MB, free: 27.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3257, allocations: 6.562 kB / 453.9 MB, free: 27.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00138/0.3271, allocations: 0.6998 MB / 454.6 MB, free: 26.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3271, allocations: 7.062 kB / 454.6 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3271, allocations: 1.766 kB / 454.6 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3272, allocations: 7.281 kB / 454.6 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/0.3277, allocations: 118.4 kB / 454.7 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3277, allocations: 8.672 kB / 454.7 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.3281, allocations: 19.56 kB / 454.7 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.3282, allocations: 18.16 kB / 454.7 MB, free: 26.94 MB / 366.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.001038/0.3292, allocations: 0.9252 MB / 455.7 MB, free: 26.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.3295, allocations: 284.1 kB / 455.9 MB, free: 26.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.3309, allocations: 0.7843 MB / 456.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.331, allocations: 10.62 kB / 456.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.331, allocations: 3.938 kB / 456.7 MB, free: 26.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.331, allocations: 3.844 kB / 456.7 MB, free: 26.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3327, allocations: 1.468 MB / 458.2 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3327, allocations: 2.141 kB / 458.2 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.3332, allocations: 95 kB / 458.3 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/0.3336, allocations: 92.36 kB / 458.4 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.3336, allocations: 10.16 kB / 458.4 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004565/0.3341, allocations: 0.6413 MB / 459.1 MB, free: 24.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3341, allocations: 4.031 kB / 459.1 MB, free: 24.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3357, allocations: 1.089 MB / 460.1 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.3363, allocations: 0.4985 MB / 460.6 MB, free: 24.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.3365, allocations: 14.78 kB / 460.7 MB, free: 24.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.337, allocations: 17.66 kB / 460.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.337, allocations: 29.47 kB / 460.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.3371, allocations: 14.48 kB / 460.7 MB, free: 24.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004879/0.342, allocations: 3.973 MB / 464.7 MB, free: 22.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.342, allocations: 0 / 464.7 MB, free: 22.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009486/0.3429, allocations: 206.3 kB / 464.9 MB, free: 22.75 MB / 366.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.001511/0.3444, allocations: 430.2 kB / 465.3 MB, free: 22.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008855/0.3453, allocations: 361.7 kB / 465.7 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3453, allocations: 0 / 465.7 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.3458, allocations: 196.9 kB / 465.9 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3468, allocations: 194.7 kB / 466 MB, free: 22.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007786/0.3546, allocations: 5.665 MB / 471.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.356, allocations: 1.821 MB / 473.5 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.3565, allocations: 94.77 kB / 473.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3565, allocations: 0 / 473.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of Templates: time 0.05451/0.411, allocations: 35.98 MB / 0.4977 GB, free: 0.9766 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 8.353320373920724]