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.002535/0.002535, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003364/0.003364, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.232e-06/1.232e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.371e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01814/0.01816, allocations: 13.37 MB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008254/0.02642, allocations: 3.773 MB / 289.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.02769, allocations: 119.4 kB / 289.6 MB, free: 500 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1253/0.153, allocations: 5.922 MB / 295.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005759/0.1588, allocations: 1.428 MB / 296.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.1619, allocations: 1.194 MB / 298.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008099/0.17, allocations: 6.679 MB / 304.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.1827, allocations: 9.087 MB / 313.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007366/0.1901, allocations: 4.976 MB / 318.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006573/0.1966, allocations: 3.723 MB / 322.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003395/0.2, allocations: 0.8867 MB / 323.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.2047, allocations: 1.079 MB / 324.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003502/0.2082, allocations: 1.839 MB / 326.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006398/0.2146, allocations: 2.425 MB / 328.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.2326, allocations: 12.21 MB / 341 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2327, allocations: 0 / 341 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2327, allocations: 0 / 341 MB, free: 12.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004303/0.2331, allocations: 0 / 341 MB, free: 12.47 MB / 298.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.02837/0.2615, allocations: 8.93 MB / 350 MB, free: 3.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.2615, allocations: 12.03 kB / 350 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02313/0.2846, allocations: 3.76 MB / 353.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.2951, allocations: 3.53 MB / 357.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006257/0.2957, allocations: 487.1 kB / 357.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.2984, allocations: 0.6202 MB / 358.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.3257, allocations: 9.725 MB / 368.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/0.326, allocations: 11.94 kB / 368.1 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002012/0.328, allocations: 264.4 kB / 368.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004403/0.3285, allocations: 311.4 kB / 368.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.347, allocations: 7.176 MB / 375.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06216/0.4091, allocations: 32.87 MB / 408.7 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009245/0.4184, allocations: 3.751 MB / 412.5 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.4209, allocations: 1.33 MB / 413.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.4211, allocations: 81.94 kB / 413.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.215e-05/0.4212, allocations: 74.84 kB / 413.9 MB, free: 3.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 4.468e-06/0.4212, allocations: 0 / 413.9 MB, free: 3.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.008923/0.4301, allocations: 3.684 MB / 417.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.4302, allocations: 103.1 kB / 417.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004681/0.4349, allocations: 2.836 MB / 420.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.4351, allocations: 65.7 kB / 420.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002894/0.438, allocations: 2.916 MB / 423.5 MB, free: 9.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.4391, allocations: 0.8859 MB / 424.4 MB, free: 8.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.4405, allocations: 0.8551 MB / 425.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.4408, allocations: 476.8 kB / 425.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.4431, allocations: 1.19 MB / 426.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/0.4472, allocations: 3.064 MB / 430 MB, free: 2.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1592/0.6064, allocations: 4.633 MB / 434.6 MB, free: 103.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.493e-05/0.6065, allocations: 11.22 kB / 434.6 MB, free: 103.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007565/0.6141, allocations: 4.296 MB / 438.9 MB, free: 103 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.6141, allocations: 21.72 kB / 439 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.118e-05/0.6142, allocations: 38.09 kB / 439 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.6153, allocations: 369.2 kB / 439.4 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.6184, allocations: 0.782 MB / 440.1 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.6236, allocations: 6.02 MB / 446.2 MB, free: 98.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.6264, allocations: 414.8 kB / 446.6 MB, free: 98.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004225/0.6268, allocations: 168.7 kB / 446.7 MB, free: 98.96 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.003251/0.6301, allocations: 2.069 MB / 448.8 MB, free: 98.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006522/0.6307, allocations: 290.8 kB / 449.1 MB, free: 98.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004493/0.6352, allocations: 2.918 MB / 452 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.6352, allocations: 26.91 kB / 452 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.6352, allocations: 3.938 kB / 452 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.6352, allocations: 14.39 kB / 452 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.6516, allocations: 11.43 MB / 463.5 MB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.6516, allocations: 19.59 kB / 463.5 MB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.6532, allocations: 439 kB / 463.9 MB, free: 93.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008516/0.6541, allocations: 340.4 kB / 464.3 MB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.6542, allocations: 72.42 kB / 464.3 MB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004238/0.6584, allocations: 5.947 MB / 470.3 MB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.6585, allocations: 22.62 kB / 470.3 MB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/0.6642, allocations: 4.701 MB / 475 MB, free: 85.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.6653, allocations: 445.8 kB / 475.4 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.6656, allocations: 70.73 kB / 475.5 MB, free: 85.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.6669, allocations: 122.4 kB / 475.6 MB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.6672, allocations: 224.8 kB / 475.8 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.6673, allocations: 83.94 kB / 475.9 MB, free: 85.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001722/0.669, allocations: 1.466 MB / 477.4 MB, free: 83.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.669, allocations: 0 / 477.4 MB, free: 83.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003825/0.6729, allocations: 1.455 MB / 478.8 MB, free: 82.67 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.0004319/0.6733, allocations: 221.5 kB / 479.1 MB, free: 82.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.678, allocations: 3.6 MB / 482.7 MB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.6781, allocations: 4 kB / 482.7 MB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.68, allocations: 1.697 MB / 484.4 MB, free: 77.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.6828, allocations: 0.5277 MB / 484.9 MB, free: 76.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.6963, allocations: 9.591 MB / 494.5 MB, free: 66.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/0.6989, allocations: 3.153 MB / 497.6 MB, free: 63.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002451/0.7013, allocations: 1.035 MB / 498.7 MB, free: 62.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.7018, allocations: 200.5 kB / 498.9 MB, free: 62.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.923e-06/0.7018, allocations: 0 / 498.9 MB, free: 62.34 MB / 378.7 MB Notification: Performance of Templates: time 0.04465/0.7465, allocations: 30 MB / 0.5165 GB, free: 32.71 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.0741056660190225]