Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001872/0.001872, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002362/0.002362, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 51.92 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2346, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007353/0.2419, allocations: 5.312 MB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.2459, allocations: 2.025 MB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.2464, allocations: 51.69 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009564/0.2474, allocations: 393.1 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.2488, allocations: 0.5827 MB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.2493, allocations: 235.7 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.2517, allocations: 2.214 MB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.2534, allocations: 1.127 MB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.2557, allocations: 1.078 MB / 445.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.2576, allocations: 1.206 MB / 446.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.258, allocations: 288 kB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.2587, allocations: 371.8 kB / 447.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.2594, allocations: 0.7129 MB / 447.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2606, allocations: 0.996 MB / 448.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.2646, allocations: 3.821 MB / 452.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2646, allocations: 0 / 452.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.2646, allocations: 3.938 kB / 452.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.2648, allocations: 4 kB / 452.7 MB, free: 2.238 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006809/0.2716, allocations: 2.367 MB / 455.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2716, allocations: 8.031 kB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.2726, allocations: 291.4 kB / 455.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.2752, allocations: 1.318 MB / 456.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.2753, allocations: 131.5 kB / 456.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.2756, allocations: 180 kB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004638/0.2802, allocations: 2.752 MB / 459.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.2803, allocations: 0 / 459.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.2804, allocations: 72 kB / 459.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.2806, allocations: 91.58 kB / 459.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.2844, allocations: 2.114 MB / 462 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.2978, allocations: 6.319 MB / 468.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.2998, allocations: 0.7115 MB / 469.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.3009, allocations: 443.6 kB / 469.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.3012, allocations: 40.41 kB / 469.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3012, allocations: 46.98 kB / 469.6 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.747e-06/0.3012, allocations: 0 / 469.6 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.006251/0.3075, allocations: 2.125 MB / 471.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.3076, allocations: 81.55 kB / 471.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.3105, allocations: 1.36 MB / 473.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3106, allocations: 33.7 kB / 473.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.3117, allocations: 1.021 MB / 474.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.312, allocations: 206.3 kB / 474.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005349/0.3125, allocations: 246.7 kB / 474.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.3128, allocations: 353.9 kB / 475 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3139, allocations: 462.3 kB / 475.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.3158, allocations: 1.119 MB / 476.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.319, allocations: 1.615 MB / 478.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.319, allocations: 8 kB / 478.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004452/0.3234, allocations: 1.676 MB / 479.9 MB, free: 5.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.3235, allocations: 12 kB / 479.9 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/0.3235, allocations: 24 kB / 479.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.3246, allocations: 180.9 kB / 480.1 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.326, allocations: 287.4 kB / 480.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.3296, allocations: 2.211 MB / 482.6 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.3313, allocations: 95.81 kB / 482.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.3314, allocations: 64 kB / 482.7 MB, free: 2.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001606/0.333, allocations: 0.7079 MB / 483.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.3334, allocations: 123.2 kB / 483.6 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.3356, allocations: 0.8282 MB / 484.4 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.3356, allocations: 4 kB / 484.4 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3356, allocations: 0 / 484.4 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.3356, allocations: 7.984 kB / 484.4 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.3412, allocations: 2.088 MB / 486.5 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.3412, allocations: 4 kB / 486.5 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.3418, allocations: 87.89 kB / 486.6 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/0.3426, allocations: 152.8 kB / 486.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.3427, allocations: 16 kB / 486.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.3461, allocations: 2.169 MB / 488.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.3461, allocations: 4 kB / 488.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.3493, allocations: 1.309 MB / 490.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009168/0.3502, allocations: 191.2 kB / 490.4 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.3505, allocations: 15.94 kB / 490.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.3514, allocations: 48.03 kB / 490.5 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.3515, allocations: 51.84 kB / 490.5 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.3516, allocations: 20 kB / 490.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002052/0.3537, allocations: 0.8993 MB / 491.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3537, allocations: 0 / 491.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002418/0.3561, allocations: 347.9 kB / 491.8 MB, free: 9.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006661/0.3568, allocations: 200.1 kB / 492 MB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.3598, allocations: 1.114 MB / 493.1 MB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3598, allocations: 0 / 493.1 MB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.361, allocations: 0.5028 MB / 493.6 MB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.3632, allocations: 256.4 kB / 493.8 MB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.3714, allocations: 3.235 MB / 497.1 MB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.3733, allocations: 1.079 MB / 498.2 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.3738, allocations: 91.42 kB / 498.2 MB, free: 3.078 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3739, allocations: 0 / 498.2 MB, free: 3.078 MB / 398.1 MB Notification: Performance of Templates: time 0.06297/0.4368, allocations: 31.47 MB / 0.5173 GB, free: 3.688 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.79977992689237]