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.001098/0.001098, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00575/0.00575, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8424/0.8424, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.262e-06/1.262e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.981e-05, allocations: 4.812 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004468/0.004488, allocations: 5.328 MB / 331.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.007527, allocations: 2.021 MB / 333.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.007956, allocations: 55.62 kB / 333.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.008654, allocations: 397.3 kB / 333.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.009579, allocations: 0.5938 MB / 334.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.00987, allocations: 235.6 kB / 334.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01129, allocations: 2.306 MB / 336.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009702/0.01226, allocations: 1.131 MB / 337.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.01433, allocations: 1.57 MB / 339.5 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.01543, allocations: 1.083 MB / 340.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.0157, allocations: 288 kB / 340.8 MB, free: 328 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.0161, allocations: 371.9 kB / 341.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.01647, allocations: 0.7439 MB / 341.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.01702, allocations: 0.8537 MB / 342.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.01922, allocations: 3.845 MB / 346.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01922, allocations: 7.984 kB / 346.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01922, allocations: 0 / 346.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.01925, allocations: 0 / 346.6 MB, free: 10.49 MB / 314.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.002476/0.02172, allocations: 2.341 MB / 349 MB, free: 8.113 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.02176, allocations: 8.031 kB / 349 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004718/0.02223, allocations: 299.4 kB / 349.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.02365, allocations: 1.318 MB / 350.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.02371, allocations: 131.9 kB / 350.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.02388, allocations: 172.4 kB / 350.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.02661, allocations: 2.752 MB / 353.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.02663, allocations: 0 / 353.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.02674, allocations: 75.98 kB / 353.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.0268, allocations: 99.56 kB / 353.8 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.02882, allocations: 2.11 MB / 355.9 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005697/0.03452, allocations: 6.332 MB / 362.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.0353, allocations: 0.7135 MB / 363 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.03573, allocations: 446.8 kB / 363.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.03585, allocations: 40.53 kB / 363.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.03587, allocations: 43.06 kB / 363.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/0.03588, allocations: 0 / 363.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002182/0.03806, allocations: 2.125 MB / 365.6 MB, free: 7.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.0381, allocations: 85.61 kB / 365.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.03924, allocations: 1.364 MB / 367.1 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.03928, allocations: 33.7 kB / 367.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.03996, allocations: 1.017 MB / 368.1 MB, free: 4.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.04005, allocations: 202.4 kB / 368.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.04025, allocations: 238.7 kB / 368.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.04034, allocations: 353.9 kB / 368.9 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.04076, allocations: 458.3 kB / 369.3 MB, free: 3.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.04144, allocations: 1.116 MB / 370.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.04255, allocations: 1.632 MB / 372.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.04255, allocations: 8 kB / 372.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001505/0.04406, allocations: 1.673 MB / 373.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.04408, allocations: 12 kB / 373.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.04409, allocations: 24 kB / 373.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.04446, allocations: 181.1 kB / 374 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.04489, allocations: 287.5 kB / 374.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.04651, allocations: 2.211 MB / 376.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.04692, allocations: 87.81 kB / 376.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.04697, allocations: 64 kB / 376.6 MB, free: 11.26 MB / 346.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.0005911/0.04756, allocations: 0.7079 MB / 377.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.04767, allocations: 127.2 kB / 377.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007847/0.04846, allocations: 0.8259 MB / 378.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.04846, allocations: 4 kB / 378.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.04847, allocations: 4 kB / 378.3 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.04847, allocations: 3.984 kB / 378.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.05036, allocations: 2.08 MB / 380.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.05037, allocations: 4 kB / 380.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.05054, allocations: 87.89 kB / 380.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002947/0.05084, allocations: 161 kB / 380.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.05086, allocations: 15.94 kB / 380.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.05235, allocations: 2.161 MB / 382.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.05236, allocations: 12.09 kB / 382.8 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.05347, allocations: 1.303 MB / 384.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.05369, allocations: 191.2 kB / 384.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.05375, allocations: 16.06 kB / 384.3 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.05401, allocations: 43.97 kB / 384.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.05408, allocations: 55.84 kB / 384.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.05411, allocations: 16 kB / 384.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007191/0.05482, allocations: 0.8993 MB / 385.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05482, allocations: 0 / 385.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007237/0.05555, allocations: 355.9 kB / 385.7 MB, free: 1.945 MB / 346.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.0003057/0.05585, allocations: 199.2 kB / 385.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.05692, allocations: 1.127 MB / 387 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.05692, allocations: 0 / 387 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.05736, allocations: 0.4904 MB / 387.5 MB, free: 116 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.05805, allocations: 269 kB / 387.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.06112, allocations: 3.165 MB / 390.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.0618, allocations: 1.083 MB / 392 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.06195, allocations: 88.48 kB / 392.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.06195, allocations: 3.938 kB / 392.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.02184/0.08379, allocations: 31.46 MB / 423.5 MB, free: 12.01 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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: 6.539719524793327]