Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001345/0.001345, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001459/0.001459, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.42/1.42, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 47.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007674/0.2601, allocations: 5.307 MB / 428.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004205/0.2643, allocations: 1.959 MB / 430.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006412/0.2649, allocations: 55.62 kB / 430.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.266, allocations: 385.5 kB / 430.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.2676, allocations: 0.5827 MB / 431.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2681, allocations: 219.8 kB / 431.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.2708, allocations: 2.217 MB / 433.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.2724, allocations: 1.12 MB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.2748, allocations: 1.08 MB / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.2766, allocations: 1.21 MB / 437.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.277, allocations: 288 kB / 437.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.2777, allocations: 359.9 kB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007356/0.2784, allocations: 0.7168 MB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.2795, allocations: 0.9921 MB / 439.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.2835, allocations: 3.814 MB / 443.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2835, allocations: 0 / 443.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2835, allocations: 4 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.363e-05/0.2836, allocations: 0 / 443.4 MB, free: 10.05 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.004538/0.2881, allocations: 2.358 MB / 445.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2882, allocations: 16.03 kB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.2889, allocations: 259.5 kB / 446 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.2915, allocations: 1.3 MB / 447.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2916, allocations: 139.4 kB / 447.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.2919, allocations: 168 kB / 447.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.2961, allocations: 2.752 MB / 450.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.2962, allocations: 0 / 450.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.2964, allocations: 72 kB / 450.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.2965, allocations: 95.58 kB / 450.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.3, allocations: 2.11 MB / 452.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.3109, allocations: 6.335 MB / 458.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.3122, allocations: 0.6963 MB / 459.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/0.313, allocations: 451 kB / 460.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.3132, allocations: 40.34 kB / 460.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3132, allocations: 43 kB / 460.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.475e-06/0.3132, allocations: 0 / 460.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004003/0.3172, allocations: 2.117 MB / 462.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.3173, allocations: 85.55 kB / 462.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.3191, allocations: 1.347 MB / 463.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.3192, allocations: 37.7 kB / 463.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008179/0.32, allocations: 1.017 MB / 464.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.3202, allocations: 206.3 kB / 465 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.3205, allocations: 242.8 kB / 465.2 MB, free: 3.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3207, allocations: 357.9 kB / 465.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/0.3215, allocations: 458.3 kB / 466 MB, free: 2.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3229, allocations: 1.127 MB / 467.1 MB, free: 1.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.325, allocations: 1.611 MB / 468.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.325, allocations: 8 kB / 468.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002909/0.3279, allocations: 1.668 MB / 470.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.3279, allocations: 16 kB / 470.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.328, allocations: 23.94 kB / 470.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.3287, allocations: 185.1 kB / 470.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.3296, allocations: 287.5 kB / 470.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.3321, allocations: 2.204 MB / 473.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/0.333, allocations: 95.75 kB / 473.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.3331, allocations: 72.05 kB / 473.3 MB, free: 10.87 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.001077/0.3342, allocations: 0.7039 MB / 474 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.3344, allocations: 123.2 kB / 474.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3359, allocations: 0.8281 MB / 474.9 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.336, allocations: 4 kB / 474.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.336, allocations: 4 kB / 474.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.336, allocations: 3.984 kB / 474.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.3397, allocations: 2.074 MB / 477 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3397, allocations: 3.938 kB / 477 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.3401, allocations: 99.88 kB / 477.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006278/0.3408, allocations: 157.1 kB / 477.3 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.3408, allocations: 19.94 kB / 477.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.3432, allocations: 2.157 MB / 479.4 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.3432, allocations: 12.09 kB / 479.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.3454, allocations: 1.294 MB / 480.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.3459, allocations: 195.2 kB / 480.9 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.346, allocations: 20.06 kB / 481 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.3466, allocations: 47.91 kB / 481 MB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3467, allocations: 47.91 kB / 481.1 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.3467, allocations: 16 kB / 481.1 MB, free: 2.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.348, allocations: 0.8951 MB / 482 MB, free: 1.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.348, allocations: 0 / 482 MB, free: 1.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001329/0.3494, allocations: 355.9 kB / 482.3 MB, free: 1.562 MB / 382.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.0004324/0.3498, allocations: 192.6 kB / 482.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.3518, allocations: 1.126 MB / 483.6 MB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3518, allocations: 0 / 483.6 MB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008403/0.3526, allocations: 0.4983 MB / 484.1 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3538, allocations: 271.9 kB / 484.4 MB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.3592, allocations: 3.224 MB / 487.6 MB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.3606, allocations: 1.123 MB / 488.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007789/0.3614, allocations: 301.8 kB / 489 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.3616, allocations: 79.42 kB / 489.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3616, allocations: 0 / 489.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of Templates: time 0.03215/0.3938, allocations: 17.81 MB / 0.495 GB, free: 9.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.960343796759844]