Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 165 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 177.1 MB / 204.7 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 61.34 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.1002, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01537/0.1156, allocations: 12.01 MB / 390.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008172/0.1238, allocations: 3.719 MB / 394.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.1255, allocations: 115.5 kB / 394.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.1385, allocations: 5.464 MB / 400.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005553/0.144, allocations: 1.391 MB / 401.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.1474, allocations: 1.178 MB / 402.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008542/0.1559, allocations: 6.487 MB / 409.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01319/0.1691, allocations: 9.057 MB / 418.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004644/0.1737, allocations: 3.363 MB / 421.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006363/0.1801, allocations: 3.726 MB / 425.4 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002499/0.1826, allocations: 0.8907 MB / 426.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.1851, allocations: 1.082 MB / 427.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.1868, allocations: 1.773 MB / 429.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003818/0.1907, allocations: 2.794 MB / 432 MB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.2046, allocations: 12.05 MB / 444 MB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2046, allocations: 0 / 444 MB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2046, allocations: 0 / 444 MB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002355/0.2048, allocations: 0 / 444 MB, free: 14.12 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02114/0.226, allocations: 7.837 MB / 451.9 MB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.226, allocations: 15.98 kB / 451.9 MB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02062/0.2466, allocations: 2.869 MB / 454.7 MB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00878/0.2554, allocations: 3.748 MB / 458.5 MB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005482/0.256, allocations: 481 kB / 459 MB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.2579, allocations: 0.6249 MB / 459.6 MB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.2788, allocations: 9.492 MB / 469.1 MB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.279, allocations: 11.95 kB / 469.1 MB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007011/0.2797, allocations: 263.9 kB / 469.3 MB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003531/0.28, allocations: 317.4 kB / 469.7 MB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.211/0.491, allocations: 7.939 MB / 477.6 MB, free: 78.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03815/0.5292, allocations: 24.1 MB / 0.4899 GB, free: 63.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.5366, allocations: 3.903 MB / 0.4937 GB, free: 61.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.5386, allocations: 1.452 MB / 0.4952 GB, free: 60.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.5388, allocations: 69.92 kB / 0.4952 GB, free: 60.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.5388, allocations: 64.5 kB / 0.4953 GB, free: 60.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=238): time 4.899e-06/0.5388, allocations: 0 / 0.4953 GB, free: 60.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.00656/0.5454, allocations: 4.035 MB / 0.4992 GB, free: 56.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5454, allocations: 103.1 kB / 0.4993 GB, free: 56.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.5475, allocations: 1.96 MB / 0.5012 GB, free: 54.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.5476, allocations: 65.7 kB / 0.5013 GB, free: 54.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/0.5484, allocations: 2.634 MB / 0.5039 GB, free: 51.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/0.5488, allocations: 0.8593 MB / 0.5047 GB, free: 50.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.5495, allocations: 0.6679 MB / 0.5054 GB, free: 49.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.5496, allocations: 309.1 kB / 0.5057 GB, free: 49.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5512, allocations: 1.408 MB / 0.507 GB, free: 48.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.5532, allocations: 2.595 MB / 0.5096 GB, free: 45.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.557, allocations: 4.242 MB / 0.5137 GB, free: 40.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.557, allocations: 12 kB / 0.5137 GB, free: 40.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005778/0.5628, allocations: 4.535 MB / 0.5182 GB, free: 35.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.5628, allocations: 24 kB / 0.5182 GB, free: 35.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.5628, allocations: 36 kB / 0.5182 GB, free: 35.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.5635, allocations: 320.4 kB / 0.5185 GB, free: 35.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.566, allocations: 0.7797 MB / 0.5193 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.5698, allocations: 4.74 MB / 0.5239 GB, free: 29.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.572, allocations: 417.1 kB / 0.5243 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.5722, allocations: 164 kB / 0.5245 GB, free: 29.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.002613/0.5749, allocations: 2.191 MB / 0.5266 GB, free: 26.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.5752, allocations: 218.5 kB / 0.5268 GB, free: 26.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.5793, allocations: 3.174 MB / 0.5299 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5793, allocations: 24 kB / 0.5299 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5793, allocations: 4 kB / 0.5299 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.5794, allocations: 11.95 kB / 0.5299 GB, free: 23.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.5912, allocations: 9.649 MB / 0.5394 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.5912, allocations: 16 kB / 0.5394 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.5928, allocations: 443.3 kB / 0.5398 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005713/0.5934, allocations: 275.4 kB / 0.5401 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.5935, allocations: 69.84 kB / 0.5401 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.5972, allocations: 4.673 MB / 0.5447 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.629e-06/0.5972, allocations: 23.88 kB / 0.5447 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/0.6025, allocations: 5.01 MB / 0.5496 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009058/0.6034, allocations: 485.8 kB / 0.5501 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.6036, allocations: 60 kB / 0.5501 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.6049, allocations: 115.9 kB / 0.5502 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.6051, allocations: 225.1 kB / 0.5505 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.6053, allocations: 91.97 kB / 0.5506 GB, free: 1.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.6066, allocations: 1.278 MB / 0.5518 GB, free: 456 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6066, allocations: 4 kB / 0.5518 GB, free: 452 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003696/0.6103, allocations: 1.456 MB / 0.5532 GB, free: 14.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0004594/0.6108, allocations: 226.5 kB / 0.5534 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005954/0.6167, allocations: 3.487 MB / 0.5568 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.6168, allocations: 0 / 0.5568 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.6193, allocations: 1.603 MB / 0.5584 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.6221, allocations: 0.5107 MB / 0.5589 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.6394, allocations: 10.08 MB / 0.5688 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004333/0.6437, allocations: 3.493 MB / 0.5722 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003596/0.6473, allocations: 1.195 MB / 0.5733 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.6479, allocations: 208.4 kB / 0.5735 GB, free: 9.879 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6479, allocations: 0 / 0.5735 GB, free: 9.879 MB / 462.1 MB Notification: Performance of Templates: time 0.05767/0.7056, allocations: 30.18 MB / 0.603 GB, free: 12 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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: 5.7267805660376325]