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.001726/0.001726, allocations: 120.5 kB / 18.41 MB, free: 4.68 MB / 14.72 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.002023/0.002022, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 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.446/1.446, allocations: 222.9 MB / 247 MB, free: 4.234 MB / 190.1 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 0.0017/0.0017, allocations: 47.92 kB / 358.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09433, allocations: 49.43 MB / 408.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01588/0.1103, allocations: 13.93 MB / 422 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.1182, allocations: 3.773 MB / 425.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.1204, allocations: 99.75 kB / 425.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1923/0.3127, allocations: 5.557 MB / 431.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.318, allocations: 1.508 MB / 433 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.321, allocations: 1.058 MB / 434 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008625/0.3296, allocations: 6.298 MB / 440.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/0.3483, allocations: 13.66 MB / 454 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005894/0.3543, allocations: 3.316 MB / 457.3 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007957/0.3623, allocations: 3.856 MB / 461.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00318/0.3655, allocations: 0.8893 MB / 462.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.3702, allocations: 1.069 MB / 463.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003406/0.3736, allocations: 1.769 MB / 464.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007036/0.3807, allocations: 3.571 MB / 468.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.3963, allocations: 11.97 MB / 480.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3963, allocations: 0 / 480.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3963, allocations: 0 / 480.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000423/0.3967, allocations: 0 / 480.4 MB, free: 14.27 MB / 382.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.02407/0.4208, allocations: 7.901 MB / 488.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4209, allocations: 12.03 kB / 488.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/0.4408, allocations: 2.918 MB / 491.3 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008566/0.4495, allocations: 3.751 MB / 495 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006085/0.4501, allocations: 482.8 kB / 495.5 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003415/0.4535, allocations: 0.6171 MB / 496.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/0.4779, allocations: 9.312 MB / 0.4936 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.4782, allocations: 11.42 kB / 0.4936 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/0.4795, allocations: 270.1 kB / 0.4938 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000353/0.4799, allocations: 313.4 kB / 0.4941 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.4966, allocations: 7.95 MB / 0.5019 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04883/0.5455, allocations: 28.29 MB / 0.5295 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.5587, allocations: 11.71 MB / 0.541 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/0.5616, allocations: 1.618 MB / 0.5425 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.5619, allocations: 136 kB / 0.5427 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.562, allocations: 60.56 kB / 0.5427 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 3.897e-06/0.562, allocations: 0 / 0.5427 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.008517/0.5705, allocations: 4.184 MB / 0.5468 GB, free: 12.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.5706, allocations: 107 kB / 0.5469 GB, free: 12.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.5735, allocations: 1.903 MB / 0.5488 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.5738, allocations: 61.7 kB / 0.5488 GB, free: 10.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.5757, allocations: 2.637 MB / 0.5514 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000898/0.5766, allocations: 0.8475 MB / 0.5522 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.5777, allocations: 0.664 MB / 0.5529 GB, free: 6.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5778, allocations: 313.1 kB / 0.5532 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.58, allocations: 1.4 MB / 0.5546 GB, free: 4.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003195/0.5832, allocations: 2.594 MB / 0.5571 GB, free: 1.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005604/0.5889, allocations: 4.234 MB / 0.5612 GB, free: 12.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/0.5889, allocations: 12 kB / 0.5612 GB, free: 12.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007382/0.5963, allocations: 4.524 MB / 0.5657 GB, free: 8.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5963, allocations: 20 kB / 0.5657 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/0.5964, allocations: 44.06 kB / 0.5657 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008028/0.5972, allocations: 315.8 kB / 0.566 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/0.6, allocations: 0.7761 MB / 0.5668 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.6059, allocations: 5.049 MB / 0.5717 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.6084, allocations: 421.1 kB / 0.5721 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/0.6088, allocations: 167.9 kB / 0.5723 GB, free: 1.289 MB / 478.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.003498/0.6123, allocations: 2.191 MB / 0.5744 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.6127, allocations: 222.5 kB / 0.5746 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00547/0.6182, allocations: 3.174 MB / 0.5777 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.6182, allocations: 24 kB / 0.5777 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6182, allocations: 11.98 kB / 0.5778 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.6183, allocations: 11.95 kB / 0.5778 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/0.637, allocations: 11.75 MB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.637, allocations: 16.25 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.6388, allocations: 443.3 kB / 0.5897 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/0.6395, allocations: 276.9 kB / 0.5899 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.6397, allocations: 63.98 kB / 0.59 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005621/0.6453, allocations: 4.998 MB / 0.5949 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/0.6453, allocations: 19.94 kB / 0.5949 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/0.6528, allocations: 5.002 MB / 0.5998 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6539, allocations: 0.5418 MB / 0.6003 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.6542, allocations: 79.75 kB / 0.6004 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.6554, allocations: 124 kB / 0.6005 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.6558, allocations: 205.3 kB / 0.6007 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/0.656, allocations: 83.98 kB / 0.6008 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001903/0.6579, allocations: 1.291 MB / 0.602 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6579, allocations: 4 kB / 0.6021 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003648/0.6615, allocations: 1.448 MB / 0.6035 GB, free: 396 kB / 0.4981 GB 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.000499/0.6621, allocations: 221.1 kB / 0.6037 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006016/0.6681, allocations: 3.659 MB / 0.6072 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.6681, allocations: 4 kB / 0.6073 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.6709, allocations: 1.689 MB / 0.6089 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.6739, allocations: 0.5114 MB / 0.6094 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.6907, allocations: 9.905 MB / 0.6191 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1906/0.8814, allocations: 3.895 MB / 0.6229 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009031/0.8823, allocations: 221.1 kB / 0.6231 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.8823, allocations: 0 / 0.6231 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1453/1.028, allocations: 124.1 MB / 0.7443 GB, free: 68.82 MB / 0.5137 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.64941789896693]