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.001374/0.001374, allocations: 81.81 kB / 20.68 MB, free: 1.035 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.001381/0.001381, allocations: 149.7 kB / 23.94 MB, free: 4.176 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.407/1.407, allocations: 173.3 MB / 200.4 MB, free: 12.9 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.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 1.102e-06/1.102e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.9e-05, allocations: 3.406 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005398/0.005417, allocations: 5.305 MB / 324.2 MB, free: 52 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.009012, allocations: 1.967 MB / 326.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.009397, allocations: 52.53 kB / 326.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.01034, allocations: 392.9 kB / 326.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.01169, allocations: 0.6017 MB / 327.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.0121, allocations: 216.7 kB / 327.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.01455, allocations: 2.292 MB / 329.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.01615, allocations: 1.132 MB / 330.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.01906, allocations: 1.563 MB / 332.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.0207, allocations: 1.087 MB / 333.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.02105, allocations: 287.8 kB / 333.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.0217, allocations: 370.3 kB / 334.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.02239, allocations: 0.7308 MB / 334.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.02349, allocations: 0.8547 MB / 335.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.02755, allocations: 3.838 MB / 339.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.02755, allocations: 1.062 kB / 339.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02755, allocations: 0 / 339.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.316e-05/0.02761, allocations: 0 / 339.6 MB, free: 6.855 MB / 302.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.005138/0.03274, allocations: 2.348 MB / 341.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.03279, allocations: 12.03 kB / 341.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007921/0.03358, allocations: 259.5 kB / 342.2 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.03616, allocations: 1.303 MB / 343.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.03629, allocations: 127.9 kB / 343.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.03661, allocations: 172.4 kB / 343.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004971/0.04158, allocations: 2.756 MB / 346.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.04162, allocations: 4 kB / 346.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.04181, allocations: 79.98 kB / 346.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.04195, allocations: 95.58 kB / 346.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.04575, allocations: 2.106 MB / 348.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.05753, allocations: 6.324 MB / 355.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.05894, allocations: 0.7015 MB / 355.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007871/0.05973, allocations: 447.1 kB / 356.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.05992, allocations: 40.53 kB / 356.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.05996, allocations: 43.05 kB / 356.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.816e-06/0.05996, allocations: 0 / 356.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004619/0.06458, allocations: 2.133 MB / 358.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.06466, allocations: 81.61 kB / 358.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.06677, allocations: 1.347 MB / 359.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.06684, allocations: 37.81 kB / 360 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/0.06769, allocations: 1.025 MB / 361 MB, free: 1.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.06786, allocations: 202.3 kB / 361.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.06823, allocations: 234.8 kB / 361.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.06844, allocations: 357.9 kB / 361.8 MB, free: 272 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/0.06922, allocations: 462.4 kB / 362.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.07057, allocations: 1.116 MB / 363.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.07278, allocations: 1.628 MB / 365 MB, free: 12.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.07279, allocations: 4 kB / 365 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003074/0.07586, allocations: 1.678 MB / 366.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.07589, allocations: 20.03 kB / 366.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.07592, allocations: 20 kB / 366.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/0.0767, allocations: 180.7 kB / 366.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/0.07761, allocations: 283.5 kB / 367.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.08022, allocations: 2.211 MB / 369.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.08137, allocations: 91.81 kB / 369.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.08147, allocations: 68 kB / 369.5 MB, free: 7.777 MB / 334.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.001192/0.08266, allocations: 0.704 MB / 370.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.08291, allocations: 123.2 kB / 370.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.08448, allocations: 0.8218 MB / 371.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.08449, allocations: 4 kB / 371.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.08449, allocations: 4 kB / 371.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.0845, allocations: 3.984 kB / 371.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.08822, allocations: 2.07 MB / 373.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.08823, allocations: 4.344 kB / 373.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.08863, allocations: 103.8 kB / 373.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006493/0.08928, allocations: 152.8 kB / 373.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.08932, allocations: 19.92 kB / 373.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.09174, allocations: 2.161 MB / 375.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.09174, allocations: 4 kB / 375.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.09393, allocations: 1.307 MB / 377 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.09444, allocations: 187.4 kB / 377.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.09458, allocations: 15.98 kB / 377.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.09516, allocations: 43.97 kB / 377.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.09529, allocations: 63.66 kB / 377.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.09534, allocations: 19.94 kB / 377.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.09672, allocations: 0.8911 MB / 378.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09672, allocations: 0 / 378.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001412/0.09813, allocations: 347.9 kB / 378.5 MB, free: 14.49 MB / 350.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.0004517/0.09858, allocations: 196 kB / 378.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.1005, allocations: 1.129 MB / 379.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1006, allocations: 4 kB / 379.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008561/0.1014, allocations: 0.4885 MB / 380.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.1027, allocations: 271.3 kB / 380.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.1082, allocations: 3.171 MB / 383.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.1095, allocations: 1.123 MB / 384.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007746/0.1103, allocations: 297.8 kB / 385.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.1105, allocations: 80.48 kB / 385.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1105, allocations: 4 kB / 385.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of Templates: time 0.03013/0.1406, allocations: 15.6 MB / 400.9 MB, free: 8.289 MB / 366.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.667124044150114]