Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 117.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.83 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2556, allocations: 50.53 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01281/0.2684, allocations: 13.94 MB / 423.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007132/0.2756, allocations: 3.835 MB / 427 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.278, allocations: 99.75 kB / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.2894, allocations: 5.565 MB / 432.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.296, allocations: 1.343 MB / 434 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.2994, allocations: 1.207 MB / 435.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007258/0.3066, allocations: 6.382 MB / 441.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.3225, allocations: 13.67 MB / 455.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.327, allocations: 3.288 MB / 458.6 MB, free: 32 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005826/0.3328, allocations: 3.847 MB / 462.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.3345, allocations: 0.8906 MB / 463.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.3368, allocations: 1.082 MB / 464.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.3383, allocations: 1.777 MB / 466.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003847/0.3421, allocations: 3.568 MB / 469.8 MB, free: 4.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.353, allocations: 11.99 MB / 481.7 MB, free: 8.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.353, allocations: 3.938 kB / 481.7 MB, free: 8.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.353, allocations: 0 / 481.7 MB, free: 8.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.3533, allocations: 0 / 481.7 MB, free: 8.805 MB / 398.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.01921/0.3725, allocations: 7.909 MB / 489.7 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3725, allocations: 16.03 kB / 489.7 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.3909, allocations: 2.943 MB / 492.6 MB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.3976, allocations: 3.749 MB / 496.4 MB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.3979, allocations: 481 kB / 496.8 MB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.399, allocations: 0.6171 MB / 497.5 MB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.4154, allocations: 9.318 MB / 0.4949 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.4155, allocations: 7.953 kB / 0.4949 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000591/0.4161, allocations: 264 kB / 0.4952 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/0.4164, allocations: 313.4 kB / 0.4955 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.4288, allocations: 7.958 MB / 0.5032 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04062/0.4694, allocations: 28.77 MB / 0.5313 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2261/0.6956, allocations: 11.69 MB / 0.5427 GB, free: 113.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.6988, allocations: 1.614 MB / 0.5443 GB, free: 113.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.699, allocations: 216.4 kB / 0.5445 GB, free: 113.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6991, allocations: 57.7 kB / 0.5446 GB, free: 113.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.528e-06/0.6991, allocations: 0 / 0.5446 GB, free: 113.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.006636/0.7057, allocations: 4.187 MB / 0.5487 GB, free: 111.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.7058, allocations: 102.8 kB / 0.5488 GB, free: 111.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.7078, allocations: 1.9 MB / 0.5506 GB, free: 111.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.7079, allocations: 65.61 kB / 0.5507 GB, free: 111.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008704/0.7088, allocations: 2.631 MB / 0.5532 GB, free: 109.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.7092, allocations: 0.8563 MB / 0.5541 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007714/0.7099, allocations: 0.6568 MB / 0.5547 GB, free: 108.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.71, allocations: 306.6 kB / 0.555 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.7115, allocations: 1.406 MB / 0.5564 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.7135, allocations: 2.59 MB / 0.5589 GB, free: 106.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.717, allocations: 4.241 MB / 0.5631 GB, free: 103.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.7171, allocations: 11.53 kB / 0.5631 GB, free: 103.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00503/0.7221, allocations: 4.526 MB / 0.5675 GB, free: 101.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.7221, allocations: 23.19 kB / 0.5675 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.7222, allocations: 37.88 kB / 0.5675 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.7228, allocations: 312.4 kB / 0.5678 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.7251, allocations: 0.778 MB / 0.5686 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.7289, allocations: 5.047 MB / 0.5735 GB, free: 95.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.7307, allocations: 428.5 kB / 0.5739 GB, free: 95.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.7309, allocations: 160.7 kB / 0.5741 GB, free: 95.27 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.002429/0.7333, allocations: 2.196 MB / 0.5762 GB, free: 93.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.7336, allocations: 218.6 kB / 0.5764 GB, free: 93.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.7376, allocations: 3.182 MB / 0.5796 GB, free: 90.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.7376, allocations: 27.94 kB / 0.5796 GB, free: 90.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.7376, allocations: 7.828 kB / 0.5796 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.7376, allocations: 11.95 kB / 0.5796 GB, free: 90.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.7504, allocations: 12.66 MB / 0.592 GB, free: 77.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.7505, allocations: 12 kB / 0.592 GB, free: 77.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.7519, allocations: 435.4 kB / 0.5924 GB, free: 76.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.7525, allocations: 273.6 kB / 0.5926 GB, free: 76.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.7526, allocations: 67.98 kB / 0.5927 GB, free: 76.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.7563, allocations: 4.992 MB / 0.5976 GB, free: 71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.7563, allocations: 21.8 kB / 0.5976 GB, free: 70.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.7613, allocations: 5.006 MB / 0.6025 GB, free: 65.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/0.7621, allocations: 0.538 MB / 0.603 GB, free: 65.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.7623, allocations: 59.98 kB / 0.6031 GB, free: 65.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7635, allocations: 132 kB / 0.6032 GB, free: 65.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.7638, allocations: 197.3 kB / 0.6034 GB, free: 64.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.7639, allocations: 84.11 kB / 0.6035 GB, free: 64.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001449/0.7654, allocations: 1.296 MB / 0.6047 GB, free: 63.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7654, allocations: 0 / 0.6047 GB, free: 63.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003119/0.7685, allocations: 1.456 MB / 0.6062 GB, free: 61.98 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.0003541/0.7688, allocations: 226.2 kB / 0.6064 GB, free: 61.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004331/0.7732, allocations: 3.663 MB / 0.61 GB, free: 58.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.7732, allocations: 4 kB / 0.61 GB, free: 58.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.775, allocations: 1.69 MB / 0.6116 GB, free: 56.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.7774, allocations: 0.5179 MB / 0.6121 GB, free: 55.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.7914, allocations: 10.03 MB / 0.6219 GB, free: 45.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.7944, allocations: 4.011 MB / 0.6258 GB, free: 41.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002625/0.797, allocations: 1.195 MB / 0.627 GB, free: 40.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.7975, allocations: 183.4 kB / 0.6272 GB, free: 40.18 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7975, allocations: 3.828 kB / 0.6272 GB, free: 40.18 MB / 462.1 MB Notification: Performance of Templates: time 0.04443/0.842, allocations: 31.91 MB / 0.6583 GB, free: 8.418 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches