Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001323/0.001323, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.0009539/0.0009539, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9065/0.9065, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 251.1 MB, free: 7.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.353e-05, allocations: 10.05 kB / 251.1 MB, free: 7.887 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005097/0.005121, allocations: 5.799 MB / 256.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.007993, allocations: 2.1 MB / 259 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.008326, allocations: 43.69 kB / 259.1 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.009049, allocations: 393.3 kB / 259.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009149/0.009963, allocations: 0.6016 MB / 260 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.01024, allocations: 243.6 kB / 260.3 MB, free: 14.67 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.01174, allocations: 2.369 MB / 262.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/0.01271, allocations: 1.036 MB / 263.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.0145, allocations: 1.595 MB / 265.3 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.0157, allocations: 1.181 MB / 266.5 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.01593, allocations: 292 kB / 266.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.01632, allocations: 379.7 kB / 267.1 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.01673, allocations: 0.7441 MB / 267.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006047/0.01733, allocations: 0.8653 MB / 268.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.01888, allocations: 2.021 MB / 270.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01888, allocations: 0 / 270.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01888, allocations: 3.938 kB / 270.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.0189, allocations: 3.984 kB / 270.8 MB, free: 4.137 MB / 250.7 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.002616/0.02152, allocations: 2.514 MB / 273.3 MB, free: 1.574 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.02155, allocations: 15.98 kB / 273.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007201/0.02227, allocations: 407.5 kB / 273.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.02338, allocations: 1.08 MB / 274.8 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.02345, allocations: 136 kB / 274.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.02362, allocations: 176.4 kB / 275.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.02543, allocations: 1.572 MB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.02545, allocations: 0 / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.02556, allocations: 75.98 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.967e-05/0.02564, allocations: 99.53 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.02695, allocations: 0.6066 MB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/0.03266, allocations: 5.97 MB / 283.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.03327, allocations: 401.8 kB / 283.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.03357, allocations: 205.8 kB / 284 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.03371, allocations: 40.47 kB / 284 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.03395, allocations: 45.89 kB / 284.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.03395, allocations: 0 / 284.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001902/0.03585, allocations: 1.281 MB / 285.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.0359, allocations: 85.61 kB / 285.4 MB, free: 4.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.0369, allocations: 1.172 MB / 286.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.03694, allocations: 37.7 kB / 286.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.03744, allocations: 1.098 MB / 287.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.03755, allocations: 214.4 kB / 287.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.03779, allocations: 264.4 kB / 288.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.03794, allocations: 0.5511 MB / 288.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.03817, allocations: 126.5 kB / 288.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.03885, allocations: 1.101 MB / 290 MB, free: 15.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.03996, allocations: 1.329 MB / 291.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.03997, allocations: 11.94 kB / 291.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001257/0.04123, allocations: 1.078 MB / 292.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.04125, allocations: 16 kB / 292.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.04127, allocations: 24.62 kB / 292.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.04171, allocations: 155.4 kB / 292.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.04219, allocations: 287.5 kB / 292.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.04354, allocations: 2.36 MB / 295.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.04398, allocations: 87.78 kB / 295.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.04405, allocations: 64 kB / 295.4 MB, free: 9.969 MB / 282.7 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.0002894/0.04434, allocations: 248 kB / 295.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.04452, allocations: 155.1 kB / 295.8 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.04514, allocations: 444.6 kB / 296.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.04514, allocations: 8.062 kB / 296.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.04515, allocations: 4 kB / 296.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.04515, allocations: 3.984 kB / 296.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.04728, allocations: 1.908 MB / 298.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.04729, allocations: 0 / 298.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.04748, allocations: 91.89 kB / 298.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003605/0.04784, allocations: 127.8 kB / 298.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.04788, allocations: 23.92 kB / 298.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.04906, allocations: 2.317 MB / 300.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.04907, allocations: 8.031 kB / 300.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.04984, allocations: 0.783 MB / 301.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.05006, allocations: 183.2 kB / 301.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.05014, allocations: 19.98 kB / 301.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.0504, allocations: 40.03 kB / 301.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.0505, allocations: 51.86 kB / 301.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.05053, allocations: 23.98 kB / 301.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006077/0.05114, allocations: 0.649 MB / 302.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05114, allocations: 0 / 302.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007947/0.05193, allocations: 343.9 kB / 302.8 MB, free: 2.262 MB / 282.7 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.0003559/0.05229, allocations: 194.2 kB / 303 MB, free: 2.066 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.05315, allocations: 0.7715 MB / 303.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.05316, allocations: 0 / 303.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.0535, allocations: 395.3 kB / 304.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.05422, allocations: 256.4 kB / 304.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.05743, allocations: 2.807 MB / 307.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.05778, allocations: 0.5246 MB / 307.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003973/0.05818, allocations: 253.8 kB / 307.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.05831, allocations: 84.48 kB / 308 MB, free: 12.83 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.05831, allocations: 0 / 308 MB, free: 12.83 MB / 298.7 MB Notification: Performance of Templates: time 0.01847/0.07678, allocations: 15.66 MB / 323.7 MB, free: 13.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9578987669665366]