Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.001131/0.001131, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001012/0.001012, allocations: 157.5 kB / 25.45 MB, free: 9.352 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.9248/0.9248, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.916e-05, allocations: 9.938 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.009694/0.009723, allocations: 12.55 MB / 312.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008947/0.01867, allocations: 3.847 MB / 316.1 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.02211, allocations: 99.56 kB / 316.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006733/0.02885, allocations: 5.518 MB / 321.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.03497, allocations: 1.662 MB / 323.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.03746, allocations: 1.208 MB / 324.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007415/0.04488, allocations: 7.085 MB / 331.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.05696, allocations: 9.198 MB / 340.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007285/0.06425, allocations: 5.214 MB / 346.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005617/0.06986, allocations: 3.625 MB / 349.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002805/0.07267, allocations: 0.9141 MB / 350.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.07614, allocations: 1.093 MB / 351.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.07814, allocations: 1.963 MB / 353.7 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1766/0.2547, allocations: 2.544 MB / 356.2 MB, free: 30.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.2699, allocations: 12.53 MB / 368.8 MB, free: 29.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2699, allocations: 0 / 368.8 MB, free: 29.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2699, allocations: 3.094 kB / 368.8 MB, free: 29.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004622/0.2703, allocations: 0 / 368.8 MB, free: 29.3 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02528/0.2956, allocations: 8.305 MB / 377.1 MB, free: 24.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.2957, allocations: 10.25 kB / 377.1 MB, free: 24.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.3127, allocations: 5.106 MB / 382.2 MB, free: 22.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008057/0.3207, allocations: 3.558 MB / 385.7 MB, free: 20.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.3211, allocations: 0.5115 MB / 386.3 MB, free: 19.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/0.3239, allocations: 0.6703 MB / 386.9 MB, free: 19.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/0.3487, allocations: 10.62 MB / 397.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.3489, allocations: 11.94 kB / 397.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/0.3499, allocations: 284 kB / 397.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.3502, allocations: 378.6 kB / 398.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.3646, allocations: 9.59 MB / 407.8 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04722/0.4118, allocations: 26.54 MB / 434.3 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007353/0.4192, allocations: 5.726 MB / 440.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.4216, allocations: 1.749 MB / 441.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006607/0.4282, allocations: 4.719 MB / 446.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.4282, allocations: 56.05 kB / 446.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 4.849e-06/0.4282, allocations: 0 / 446.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.004603/0.4328, allocations: 3.019 MB / 449.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.4329, allocations: 98.55 kB / 449.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.4364, allocations: 2.731 MB / 452.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.4366, allocations: 53.7 kB / 452.5 MB, free: 4.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.4387, allocations: 3.232 MB / 455.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.4392, allocations: 0.5657 MB / 456.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00081/0.4401, allocations: 0.7968 MB / 457.1 MB, free: 208 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.4402, allocations: 301.1 kB / 457.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.4416, allocations: 1.468 MB / 458.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.4442, allocations: 3.258 MB / 462.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/0.4479, allocations: 4.823 MB / 466.9 MB, free: 4.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-05/0.4479, allocations: 16 kB / 466.9 MB, free: 4.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006197/0.4541, allocations: 5.089 MB / 472 MB, free: 192 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.4541, allocations: 33.03 kB / 472.1 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.518e-05/0.4542, allocations: 68 kB / 472.1 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.4548, allocations: 328.7 kB / 472.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.4564, allocations: 0.8849 MB / 473.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.4602, allocations: 4.735 MB / 478.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4627, allocations: 0.5469 MB / 478.6 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.463, allocations: 220 kB / 478.8 MB, free: 9.305 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003919/0.4669, allocations: 2.326 MB / 481.2 MB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.4673, allocations: 230.5 kB / 481.4 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.4701, allocations: 2.319 MB / 483.7 MB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4701, allocations: 19.94 kB / 483.7 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.4701, allocations: 7.469 kB / 483.7 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4701, allocations: 7.969 kB / 483.7 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005357/0.4755, allocations: 3.86 MB / 487.6 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4755, allocations: 0 / 487.6 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.4761, allocations: 265.3 kB / 487.9 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.4765, allocations: 253.7 kB / 488.1 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.4766, allocations: 35.98 kB / 488.1 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.4802, allocations: 4.626 MB / 492.8 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4802, allocations: 3.984 kB / 492.8 MB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.4836, allocations: 3.296 MB / 496.1 MB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.4844, allocations: 410 kB / 496.5 MB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.4846, allocations: 32.12 kB / 496.5 MB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.4852, allocations: 95.89 kB / 496.6 MB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4854, allocations: 116 kB / 496.7 MB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.4855, allocations: 47.98 kB / 496.7 MB, free: 7.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002542/0.488, allocations: 1.706 MB / 498.5 MB, free: 5.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.488, allocations: 0 / 498.5 MB, free: 5.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004722/0.4927, allocations: 1.541 MB / 500 MB, free: 3.973 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * 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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000498/0.4932, allocations: 168.3 kB / 0.4884 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004588/0.4978, allocations: 3.349 MB / 0.4917 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4978, allocations: 4.125 kB / 0.4917 GB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.499, allocations: 1.178 MB / 0.4929 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.5008, allocations: 489.4 kB / 0.4933 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.5183, allocations: 9.912 MB / 0.503 GB, free: 5.059 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003936/0.5222, allocations: 3.567 MB / 0.5065 GB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/0.523, allocations: 224.4 kB / 0.5067 GB, free: 1.246 MB / 442.7 MB Notification: Performance of SimCode: time 2.264e-06/0.523, allocations: 0 / 0.5067 GB, free: 1.246 MB / 442.7 MB Notification: Performance of Templates: time 0.2439/0.7669, allocations: 133.2 MB / 0.6368 GB, free: 39.91 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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: 8.047998729161918]