Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.002577/0.002577, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002898/0.002898, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 18.57 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.498/1.498, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 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.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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.056e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02547/0.0255, allocations: 13.35 MB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.03652, allocations: 3.738 MB / 284.4 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.03958, allocations: 115.5 kB / 284.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1386/0.1782, allocations: 5.91 MB / 290.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.1832, allocations: 1.583 MB / 292 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.1858, allocations: 1.055 MB / 293.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007058/0.1928, allocations: 6.587 MB / 299.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.2037, allocations: 9.085 MB / 308.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007305/0.211, allocations: 4.981 MB / 313.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004803/0.2158, allocations: 3.714 MB / 317.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.2173, allocations: 0.8906 MB / 318.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.2197, allocations: 1.067 MB / 319.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.2209, allocations: 1.832 MB / 321.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004536/0.2254, allocations: 2.422 MB / 323.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.2413, allocations: 12.19 MB / 335.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2414, allocations: 4 kB / 335.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2414, allocations: 3.938 kB / 335.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003139/0.2417, allocations: 4 kB / 335.9 MB, free: 1.719 MB / 282.7 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.02528/0.267, allocations: 8.915 MB / 344.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.267, allocations: 12.92 kB / 344.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02039/0.2874, allocations: 3.815 MB / 348.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009855/0.2972, allocations: 3.527 MB / 352.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005316/0.2978, allocations: 488.7 kB / 352.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.2998, allocations: 0.6215 MB / 353.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/0.33, allocations: 9.692 MB / 362.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.3302, allocations: 7.938 kB / 362.9 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.3316, allocations: 262.9 kB / 363.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003946/0.332, allocations: 313.4 kB / 363.5 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.349, allocations: 7.144 MB / 370.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06331/0.4123, allocations: 32.87 MB / 403.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009313/0.4216, allocations: 3.721 MB / 407.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/0.4241, allocations: 1.328 MB / 408.5 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.4243, allocations: 61.97 kB / 408.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.794e-05/0.4244, allocations: 65.73 kB / 408.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 4.608e-06/0.4244, allocations: 0 / 408.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.009/0.4334, allocations: 3.671 MB / 412.3 MB, free: 4.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.4335, allocations: 103.1 kB / 412.4 MB, free: 4.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.4383, allocations: 2.832 MB / 415.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.4385, allocations: 69.64 kB / 415.3 MB, free: 1.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002946/0.4415, allocations: 2.917 MB / 418.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001375/0.4428, allocations: 0.8905 MB / 419.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/0.4443, allocations: 0.8434 MB / 420 MB, free: 13.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.4446, allocations: 476.8 kB / 420.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.4468, allocations: 1.186 MB / 421.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/0.4508, allocations: 3.057 MB / 424.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006978/0.4578, allocations: 4.626 MB / 429.3 MB, free: 2.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.313e-05/0.4579, allocations: 12 kB / 429.3 MB, free: 2.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.1302/0.5881, allocations: 4.271 MB / 433.6 MB, free: 108.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.5881, allocations: 24.09 kB / 433.6 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-05/0.5882, allocations: 39.16 kB / 433.7 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.5892, allocations: 365.5 kB / 434 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.5921, allocations: 0.7791 MB / 434.8 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.5968, allocations: 6.015 MB / 440.8 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.599, allocations: 422.2 kB / 441.2 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/0.5993, allocations: 162.6 kB / 441.4 MB, free: 104.5 MB / 378.7 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.003195/0.6025, allocations: 2.069 MB / 443.5 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/0.603, allocations: 286.9 kB / 443.7 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/0.6078, allocations: 2.917 MB / 446.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.6079, allocations: 25.5 kB / 446.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.6079, allocations: 4.125 kB / 446.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.6079, allocations: 11.69 kB / 446.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.6227, allocations: 11.34 MB / 458 MB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.6227, allocations: 17.41 kB / 458.1 MB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.6243, allocations: 439.1 kB / 458.5 MB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008364/0.6251, allocations: 342.3 kB / 458.8 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.6253, allocations: 68.55 kB / 458.9 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004117/0.6294, allocations: 5.952 MB / 464.8 MB, free: 96.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.6294, allocations: 22.19 kB / 464.9 MB, free: 96.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005044/0.6344, allocations: 4.686 MB / 469.6 MB, free: 93.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.6355, allocations: 452.9 kB / 470 MB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.6358, allocations: 66.03 kB / 470.1 MB, free: 93.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.637, allocations: 126.8 kB / 470.2 MB, free: 93.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.6373, allocations: 211.7 kB / 470.4 MB, free: 93.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.6374, allocations: 86.58 kB / 470.5 MB, free: 93.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001665/0.6391, allocations: 1.468 MB / 471.9 MB, free: 92.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6391, allocations: 0 / 471.9 MB, free: 92.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003504/0.6426, allocations: 1.46 MB / 473.4 MB, free: 92.21 MB / 378.7 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.0003436/0.6429, allocations: 214 kB / 473.6 MB, free: 92.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004361/0.6473, allocations: 3.582 MB / 477.2 MB, free: 89.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.6473, allocations: 4 kB / 477.2 MB, free: 89.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.649, allocations: 1.691 MB / 478.9 MB, free: 87.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.6515, allocations: 0.5278 MB / 479.4 MB, free: 87.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.6626, allocations: 9.634 MB / 489.1 MB, free: 77.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.6649, allocations: 3.137 MB / 492.2 MB, free: 74.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002171/0.6671, allocations: 1.039 MB / 493.2 MB, free: 73.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/0.6676, allocations: 188.5 kB / 493.4 MB, free: 72.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6676, allocations: 0 / 493.4 MB, free: 72.96 MB / 378.7 MB Notification: Performance of Templates: time 0.04106/0.7087, allocations: 29.51 MB / 0.5107 GB, free: 43.81 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.953903547022492]