Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 105.8 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 65.22 kB / 307.9 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1119, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.1599/0.2719, allocations: 13.93 MB / 372.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007015/0.2789, allocations: 3.846 MB / 376.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.2812, allocations: 99.75 kB / 376.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.2916, allocations: 5.563 MB / 381.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.2964, allocations: 1.344 MB / 383.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.2996, allocations: 1.207 MB / 384.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007854/0.3074, allocations: 6.328 MB / 390.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/0.3264, allocations: 13.75 MB / 404.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006003/0.3324, allocations: 3.266 MB / 407.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.3388, allocations: 3.862 MB / 411.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00241/0.3413, allocations: 0.8828 MB / 412.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.345, allocations: 1.089 MB / 413.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00284/0.3479, allocations: 1.768 MB / 415.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006996/0.3549, allocations: 3.568 MB / 418.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.3703, allocations: 11.89 MB / 430.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3704, allocations: 4 kB / 430.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3704, allocations: 0 / 430.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003428/0.3707, allocations: 0 / 430.8 MB, free: 2.484 MB / 334.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.02272/0.3935, allocations: 7.78 MB / 438.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3935, allocations: 8.031 kB / 438.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/0.4136, allocations: 2.925 MB / 441.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007451/0.4211, allocations: 3.6 MB / 445.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/0.4216, allocations: 481.7 kB / 445.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.4231, allocations: 0.6221 MB / 446.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.4415, allocations: 9.324 MB / 455.6 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/0.4416, allocations: 7.906 kB / 455.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006564/0.4423, allocations: 261.9 kB / 455.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.4426, allocations: 313.4 kB / 456.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4573, allocations: 7.954 MB / 464.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04563/0.503, allocations: 29.03 MB / 493.1 MB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.5159, allocations: 11.7 MB / 0.493 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/0.5187, allocations: 1.617 MB / 0.4946 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.5191, allocations: 220.1 kB / 0.4948 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.5191, allocations: 60.56 kB / 0.4948 GB, free: 4.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.558e-06/0.5191, allocations: 0 / 0.4948 GB, free: 4.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.008355/0.5275, allocations: 4.158 MB / 0.4989 GB, free: 15.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.5276, allocations: 107.1 kB / 0.499 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.5307, allocations: 1.899 MB / 0.5008 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.5309, allocations: 65.7 kB / 0.5009 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.5329, allocations: 2.543 MB / 0.5034 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007898/0.5337, allocations: 0.8075 MB / 0.5042 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009898/0.5347, allocations: 0.6637 MB / 0.5048 GB, free: 9.703 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5348, allocations: 301.1 kB / 0.5051 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.537, allocations: 1.4 MB / 0.5065 GB, free: 8.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.5401, allocations: 2.607 MB / 0.509 GB, free: 4.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/0.5459, allocations: 4.23 MB / 0.5132 GB, free: 92 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-05/0.5459, allocations: 16 kB / 0.5132 GB, free: 76 kB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008148/0.5541, allocations: 4.51 MB / 0.5176 GB, free: 11.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.5542, allocations: 20 kB / 0.5176 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/0.5542, allocations: 40.69 kB / 0.5176 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008337/0.5551, allocations: 322.3 kB / 0.5179 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.558, allocations: 0.7722 MB / 0.5187 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.564, allocations: 5.057 MB / 0.5236 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.5667, allocations: 408 kB / 0.524 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/0.5672, allocations: 164 kB / 0.5242 GB, free: 4.516 MB / 446.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.004193/0.5714, allocations: 2.194 MB / 0.5263 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/0.5719, allocations: 205.5 kB / 0.5265 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2164/0.7882, allocations: 3.18 MB / 0.5296 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-05/0.7883, allocations: 25.06 kB / 0.5297 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.7883, allocations: 5.062 kB / 0.5297 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.384e-05/0.7884, allocations: 13.33 kB / 0.5297 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/0.8089, allocations: 12.67 MB / 0.542 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/0.809, allocations: 14.33 kB / 0.5421 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.8107, allocations: 439.1 kB / 0.5425 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.8114, allocations: 285.3 kB / 0.5427 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.8116, allocations: 66.14 kB / 0.5428 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.8161, allocations: 4.983 MB / 0.5477 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/0.8162, allocations: 19.69 kB / 0.5477 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/0.8227, allocations: 4.995 MB / 0.5526 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8237, allocations: 0.5266 MB / 0.5531 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.824, allocations: 69.36 kB / 0.5532 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.8253, allocations: 126.8 kB / 0.5533 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.8256, allocations: 203.3 kB / 0.5535 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.8258, allocations: 87.23 kB / 0.5536 GB, free: 122.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001501/0.8273, allocations: 1.286 MB / 0.5548 GB, free: 122 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8273, allocations: 3.969 kB / 0.5548 GB, free: 122 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003769/0.831, allocations: 1.438 MB / 0.5562 GB, free: 121.5 MB / 446.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.0004847/0.8315, allocations: 221.5 kB / 0.5564 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006589/0.8381, allocations: 4.16 MB / 0.5605 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/0.8382, allocations: 0 / 0.5605 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.8402, allocations: 1.686 MB / 0.5621 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.8429, allocations: 0.522 MB / 0.5626 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.8575, allocations: 9.871 MB / 0.5723 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.8605, allocations: 3.904 MB / 0.5761 GB, free: 110.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/0.8613, allocations: 218.5 kB / 0.5763 GB, free: 110.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8614, allocations: 0 / 0.5763 GB, free: 110.7 MB / 446.1 MB Notification: Performance of Templates: time 0.2694/1.131, allocations: 123.7 MB / 0.6971 GB, free: 140.8 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches