Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.368/1.368, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 72.06 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2314, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.007681/0.2391, allocations: 4.437 MB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.2429, allocations: 1.656 MB / 438.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005313/0.2434, allocations: 11.94 kB / 438.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.2439, allocations: 126.8 kB / 438.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.2452, allocations: 367.6 kB / 438.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.2458, allocations: 247.6 kB / 438.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2473, allocations: 0.9823 MB / 439.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.2477, allocations: 161.4 kB / 440 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.2483, allocations: 382.7 kB / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007722/0.2491, allocations: 434.2 kB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.2493, allocations: 96 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.2498, allocations: 211.9 kB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.25, allocations: 199.4 kB / 441.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.2506, allocations: 422 kB / 441.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.2524, allocations: 1.179 MB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2524, allocations: 0 / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2524, allocations: 0 / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.2524, allocations: 0 / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003386/0.2558, allocations: 1.114 MB / 444 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2558, allocations: 8.031 kB / 444 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.2562, allocations: 88.45 kB / 444.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.257, allocations: 0.5305 MB / 444.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.702e-05/0.2571, allocations: 75.52 kB / 444.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.2573, allocations: 68.48 kB / 444.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2584, allocations: 0.602 MB / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2584, allocations: 0 / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.2585, allocations: 24 kB / 445.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.2585, allocations: 16 kB / 445.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.2596, allocations: 0.5243 MB / 445.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.2631, allocations: 2.291 MB / 448.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2641, allocations: 457.2 kB / 448.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.2647, allocations: 254.1 kB / 448.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.2647, allocations: 4 kB / 448.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.2647, allocations: 42.5 kB / 449 MB, free: 6.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.2647, allocations: 0 / 449 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01316/0.2779, allocations: 3.563 MB / 452.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.278, allocations: 81.67 kB / 452.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007945/0.2788, allocations: 0.541 MB / 453.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.2788, allocations: 37.7 kB / 453.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.2791, allocations: 324.8 kB / 453.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.2793, allocations: 222.1 kB / 453.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2795, allocations: 114.3 kB / 453.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2797, allocations: 366.8 kB / 454.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006122/0.2803, allocations: 245.2 kB / 454.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.2809, allocations: 348.4 kB / 454.8 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.2822, allocations: 0.6021 MB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.2822, allocations: 4 kB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001712/0.2839, allocations: 0.7453 MB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.284, allocations: 7.938 kB / 456.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.284, allocations: 4 kB / 456.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.2841, allocations: 32.83 kB / 456.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/0.285, allocations: 180 kB / 456.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.2864, allocations: 1.421 MB / 457.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.2871, allocations: 43.92 kB / 457.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.2871, allocations: 23.98 kB / 457.8 MB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.2875, allocations: 205.7 kB / 458 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.2876, allocations: 63.58 kB / 458.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.2895, allocations: 0.8336 MB / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.2895, allocations: 7.938 kB / 458.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2896, allocations: 4 kB / 458.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2896, allocations: 3.984 kB / 458.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.2936, allocations: 1.846 MB / 460.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2936, allocations: 3.938 kB / 460.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.2941, allocations: 107.9 kB / 460.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.2964, allocations: 464.3 kB / 461.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.2965, allocations: 19.94 kB / 461.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.3018, allocations: 3.149 MB / 464.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3018, allocations: 64 / 464.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.3051, allocations: 1.363 MB / 465.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.3054, allocations: 220.6 kB / 466.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3055, allocations: 12 kB / 466.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.3062, allocations: 43.91 kB / 466.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.3063, allocations: 48.58 kB / 466.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.3063, allocations: 20 kB / 466.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.3068, allocations: 390.9 kB / 466.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3068, allocations: 4 kB / 466.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000772/0.3076, allocations: 192 kB / 466.8 MB, free: 3.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003157/0.3079, allocations: 147 kB / 466.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.3095, allocations: 0.7051 MB / 467.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3095, allocations: 0 / 467.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.3104, allocations: 0.5022 MB / 468.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.3111, allocations: 89.97 kB / 468.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.314, allocations: 1.522 MB / 469.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.3145, allocations: 0.9004 MB / 470.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3148, allocations: 59.41 kB / 470.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3148, allocations: 0 / 470.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01881/0.3336, allocations: 11.89 MB / 482.6 MB, free: 3.855 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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: 7.481612024828792]