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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 110.9 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 192.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3135, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01447/0.328, allocations: 13.93 MB / 415.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008215/0.3363, allocations: 3.765 MB / 419.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.3387, allocations: 103.7 kB / 419.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.3503, allocations: 5.565 MB / 424.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.3555, allocations: 1.507 MB / 426.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.3583, allocations: 1.068 MB / 427.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007296/0.3656, allocations: 6.292 MB / 433.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/0.3821, allocations: 13.66 MB / 447.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.3862, allocations: 3.288 MB / 450.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.3917, allocations: 3.854 MB / 454.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.3939, allocations: 0.8828 MB / 455.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.3967, allocations: 1.074 MB / 456.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.3983, allocations: 1.769 MB / 458.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004299/0.4026, allocations: 3.568 MB / 461.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4143, allocations: 11.93 MB / 473.7 MB, free: 336 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4143, allocations: 7.984 kB / 473.7 MB, free: 328 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4143, allocations: 0 / 473.7 MB, free: 328 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002512/0.4146, allocations: 0 / 473.7 MB, free: 328 kB / 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.01927/0.4338, allocations: 7.773 MB / 481.5 MB, free: 8.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4339, allocations: 12.02 kB / 481.5 MB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/0.4516, allocations: 2.885 MB / 484.4 MB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.4585, allocations: 3.733 MB / 488.1 MB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.4588, allocations: 481 kB / 488.6 MB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.4601, allocations: 0.6249 MB / 489.2 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4764, allocations: 9.318 MB / 498.5 MB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/0.4765, allocations: 7.906 kB / 498.5 MB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005969/0.4771, allocations: 263.9 kB / 498.8 MB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002593/0.4774, allocations: 313.4 kB / 499.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4914, allocations: 7.954 MB / 0.4951 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/0.5325, allocations: 28.2 MB / 0.5227 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.5441, allocations: 11.7 MB / 0.5341 GB, free: 4.301 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.5466, allocations: 1.622 MB / 0.5357 GB, free: 2.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.5468, allocations: 139 kB / 0.5358 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.5469, allocations: 60.55 kB / 0.5359 GB, free: 2.457 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.107e-06/0.5469, allocations: 0 / 0.5359 GB, free: 2.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2155/0.7624, allocations: 4.162 MB / 0.5399 GB, free: 126 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.7625, allocations: 102 kB / 0.54 GB, free: 125.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.7656, allocations: 1.906 MB / 0.5419 GB, free: 125.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.7659, allocations: 61.61 kB / 0.542 GB, free: 125.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009778/0.7669, allocations: 2.544 MB / 0.5444 GB, free: 123.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/0.7674, allocations: 0.8073 MB / 0.5452 GB, free: 123.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007628/0.7682, allocations: 0.6633 MB / 0.5459 GB, free: 122.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.7683, allocations: 308.8 kB / 0.5462 GB, free: 122.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.7698, allocations: 1.402 MB / 0.5475 GB, free: 122.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.7719, allocations: 2.592 MB / 0.5501 GB, free: 120.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.7757, allocations: 4.241 MB / 0.5542 GB, free: 117.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.7758, allocations: 7.719 kB / 0.5542 GB, free: 117.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005427/0.7812, allocations: 4.514 MB / 0.5586 GB, free: 115.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.7812, allocations: 23.12 kB / 0.5587 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.7813, allocations: 42.72 kB / 0.5587 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006612/0.782, allocations: 310.8 kB / 0.559 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.7843, allocations: 0.7772 MB / 0.5598 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003983/0.7883, allocations: 5.043 MB / 0.5647 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.7902, allocations: 412.2 kB / 0.5651 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.7905, allocations: 168.7 kB / 0.5652 GB, free: 111 MB / 462.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.002676/0.7931, allocations: 2.192 MB / 0.5674 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.7935, allocations: 209.4 kB / 0.5676 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/0.7975, allocations: 3.182 MB / 0.5707 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.7976, allocations: 24 kB / 0.5707 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.7976, allocations: 8 kB / 0.5707 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.7976, allocations: 14.02 kB / 0.5707 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.8107, allocations: 11.74 MB / 0.5822 GB, free: 94.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.8108, allocations: 16.25 kB / 0.5822 GB, free: 94.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.8123, allocations: 439.2 kB / 0.5826 GB, free: 93.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/0.8129, allocations: 281.5 kB / 0.5829 GB, free: 93.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.813, allocations: 60 kB / 0.5829 GB, free: 93.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.8167, allocations: 4.982 MB / 0.5878 GB, free: 88.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.8168, allocations: 19.94 kB / 0.5878 GB, free: 88.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.8219, allocations: 4.997 MB / 0.5927 GB, free: 83.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.823, allocations: 0.5251 MB / 0.5932 GB, free: 82.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.8233, allocations: 63.98 kB / 0.5933 GB, free: 82.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.8245, allocations: 124 kB / 0.5934 GB, free: 82.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.8247, allocations: 205.3 kB / 0.5936 GB, free: 82.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.8249, allocations: 87.98 kB / 0.5937 GB, free: 82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.8262, allocations: 1.287 MB / 0.5949 GB, free: 80.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.8262, allocations: 4 kB / 0.5949 GB, free: 80.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003269/0.8295, allocations: 1.439 MB / 0.5963 GB, free: 79.27 MB / 462.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.0003929/0.8299, allocations: 214.6 kB / 0.5966 GB, free: 79.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004466/0.8344, allocations: 3.658 MB / 0.6001 GB, free: 75.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.8344, allocations: 4 kB / 0.6001 GB, free: 75.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.8363, allocations: 1.697 MB / 0.6018 GB, free: 73.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.839, allocations: 0.5153 MB / 0.6023 GB, free: 73.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.8517, allocations: 9.739 MB / 0.6118 GB, free: 63.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.8544, allocations: 3.904 MB / 0.6156 GB, free: 59.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/0.8553, allocations: 215.4 kB / 0.6158 GB, free: 59.06 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.8553, allocations: 0 / 0.6158 GB, free: 59.06 MB / 462.1 MB Notification: Performance of Templates: time 0.3293/1.185, allocations: 124.8 MB / 0.7377 GB, free: 176.2 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches