Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.0009502/0.0009502, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001054/0.001054, allocations: 166.6 kB / 24.99 MB, free: 8.789 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.376e-05, allocations: 2.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01035/0.01037, allocations: 13.41 MB / 286.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007174/0.01755, allocations: 3.773 MB / 290.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.01956, allocations: 111.5 kB / 290.4 MB, free: 472 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1157/0.1353, allocations: 5.927 MB / 296.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.1398, allocations: 1.433 MB / 297.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.1422, allocations: 1.182 MB / 298.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006699/0.1489, allocations: 6.687 MB / 305.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.1598, allocations: 9.088 MB / 314.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006186/0.1659, allocations: 4.981 MB / 319.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/0.1707, allocations: 3.714 MB / 323.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.1728, allocations: 0.8867 MB / 324.3 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.1758, allocations: 1.082 MB / 325.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.1773, allocations: 1.842 MB / 327.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.1813, allocations: 2.424 MB / 329.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006572/0.1879, allocations: 6.164 MB / 335.8 MB, free: 2.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1879, allocations: 4 kB / 335.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1879, allocations: 0 / 335.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002743/0.1881, allocations: 0 / 335.8 MB, free: 2.371 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.01289/0.201, allocations: 8.439 MB / 344.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2011, allocations: 8.031 kB / 344.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.2118, allocations: 3.763 MB / 348 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006043/0.2178, allocations: 3.539 MB / 351.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.2182, allocations: 490.3 kB / 352 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.2196, allocations: 0.622 MB / 352.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.2309, allocations: 5.445 MB / 358.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/0.231, allocations: 11.33 kB / 358.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004564/0.2315, allocations: 261.5 kB / 358.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/0.2317, allocations: 313.4 kB / 358.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006577/0.2383, allocations: 2.776 MB / 361.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.2665, allocations: 23.28 MB / 384.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004821/0.2714, allocations: 3.418 MB / 388.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.2725, allocations: 0.8256 MB / 388.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.2727, allocations: 81.94 kB / 389 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.2728, allocations: 66.75 kB / 389.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 5.57e-06/0.2728, allocations: 4 kB / 389.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.004252/0.277, allocations: 2.455 MB / 391.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.2771, allocations: 99.11 kB / 391.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.2793, allocations: 1.945 MB / 393.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.2794, allocations: 69.7 kB / 393.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.2808, allocations: 2.819 MB / 396.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/0.2814, allocations: 0.8551 MB / 397.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007211/0.2821, allocations: 0.7614 MB / 398.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2822, allocations: 476.8 kB / 398.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009763/0.2832, allocations: 0.5259 MB / 399.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.2849, allocations: 2.303 MB / 401.4 MB, free: 16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.2878, allocations: 3.118 MB / 404.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.479e-05/0.2879, allocations: 12 kB / 404.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004068/0.2919, allocations: 2.901 MB / 407.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.292, allocations: 20.62 kB / 407.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/0.292, allocations: 44.06 kB / 407.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.2927, allocations: 301.6 kB / 407.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.2943, allocations: 0.7877 MB / 408.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.2981, allocations: 5.218 MB / 413.8 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.2996, allocations: 417.1 kB / 414.2 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.2998, allocations: 168 kB / 414.3 MB, free: 2.039 MB / 362.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.001508/0.3013, allocations: 379.3 kB / 414.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.3017, allocations: 298.6 kB / 415 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.3044, allocations: 2.049 MB / 417.1 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.3044, allocations: 24 kB / 417.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3045, allocations: 7.938 kB / 417.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.3045, allocations: 11.95 kB / 417.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.315, allocations: 7.306 MB / 424.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.315, allocations: 12 kB / 424.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000993/0.316, allocations: 447.4 kB / 424.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.3166, allocations: 269.7 kB / 425.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.3167, allocations: 71.98 kB / 425.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.3203, allocations: 5.17 MB / 430.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/0.3203, allocations: 27.88 kB / 430.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1337/0.454, allocations: 3.12 MB / 433.5 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007793/0.4548, allocations: 453.6 kB / 434 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.455, allocations: 63.47 kB / 434 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/0.4558, allocations: 119.5 kB / 434.1 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.4561, allocations: 221.4 kB / 434.3 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.4563, allocations: 85.09 kB / 434.4 MB, free: 109.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.4574, allocations: 0.8848 MB / 435.3 MB, free: 109.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4574, allocations: 0.7812 kB / 435.3 MB, free: 109.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003055/0.4604, allocations: 1.46 MB / 436.8 MB, free: 109.3 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.0004229/0.4609, allocations: 217 kB / 437 MB, free: 109.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.4644, allocations: 2.431 MB / 439.4 MB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.4644, allocations: 2.031 kB / 439.4 MB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.4657, allocations: 1.234 MB / 440.7 MB, free: 108.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.4674, allocations: 0.5245 MB / 441.2 MB, free: 108.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.4774, allocations: 8.732 MB / 449.9 MB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.4785, allocations: 1.55 MB / 451.5 MB, free: 104.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001622/0.4801, allocations: 1.044 MB / 452.5 MB, free: 104.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.4805, allocations: 195.2 kB / 452.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.4805, allocations: 0 / 452.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of Templates: time 0.03474/0.5153, allocations: 30.05 MB / 482.7 MB, free: 81.76 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.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: 3.747949465876445]