Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 111.2 kB / 17.86 MB, free: 5.504 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.001143/0.001143, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.397/1.397, allocations: 222.9 MB / 242.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.03 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01819/0.1603, allocations: 19.4 MB / 488.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1711, allocations: 4.873 MB / 493.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.1754, allocations: 151.5 kB / 493.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01635/0.1919, allocations: 7.368 MB / 0.4892 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008603/0.2005, allocations: 2.028 MB / 0.4912 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.2051, allocations: 1.184 MB / 0.4924 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.28/0.4851, allocations: 12.42 MB / 0.5045 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03408/0.5192, allocations: 21.84 MB / 0.5258 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009511/0.5288, allocations: 5.702 MB / 0.5314 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.54, allocations: 6.973 MB / 0.5382 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004392/0.5444, allocations: 1.229 MB / 0.5394 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/0.5505, allocations: 1.408 MB / 0.5408 GB, free: 176 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006479/0.557, allocations: 3.167 MB / 0.5439 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01438/0.5714, allocations: 6.463 MB / 0.5502 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.5951, allocations: 20.39 MB / 0.5701 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.5951, allocations: 11.92 kB / 0.5701 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5952, allocations: 3.656 kB / 0.5701 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008595/0.596, allocations: 0 / 0.5701 GB, free: 5.156 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04939/0.6454, allocations: 14.56 MB / 0.5843 GB, free: 6.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6455, allocations: 12.03 kB / 0.5843 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05964/0.7052, allocations: 11.43 MB / 0.5955 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/0.7219, allocations: 7.084 MB / 0.6024 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/0.7231, allocations: 0.883 MB / 0.6033 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005784/0.7289, allocations: 1.177 MB / 0.6044 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0524/0.7813, allocations: 18.55 MB / 0.6225 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007043/0.782, allocations: 23.8 kB / 0.6226 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005072/0.7871, allocations: 498.1 kB / 0.623 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007791/0.7879, allocations: 0.6499 MB / 0.6237 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04334/0.8313, allocations: 19.08 MB / 0.6423 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6331/1.464, allocations: 60.64 MB / 0.7015 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02612/1.491, allocations: 16.61 MB / 0.7177 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008867/1.5, allocations: 4.522 MB / 0.7222 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/1.5, allocations: 234.4 kB / 0.7224 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.451e-05/1.5, allocations: 106 kB / 0.7225 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.715e-06/1.5, allocations: 3.828 kB / 0.7225 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01966/1.52, allocations: 12.36 MB / 0.7346 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.52, allocations: 119.8 kB / 0.7347 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/1.535, allocations: 8.607 MB / 0.7431 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001323/1.537, allocations: 136.6 kB / 0.7432 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004412/1.541, allocations: 4.484 MB / 0.7476 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003211/1.544, allocations: 2.191 MB / 0.7497 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002467/1.547, allocations: 1.436 MB / 0.7511 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/1.547, allocations: 305 kB / 0.7514 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005584/1.552, allocations: 4.1 MB / 0.7554 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007446/1.56, allocations: 6.912 MB / 0.7622 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/1.574, allocations: 11.94 MB / 0.7738 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/1.574, allocations: 26.41 kB / 0.7739 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02461/1.599, allocations: 12 MB / 0.7856 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.599, allocations: 51.94 kB / 0.7856 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/1.599, allocations: 93.17 kB / 0.7857 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.601, allocations: 412.8 kB / 0.7861 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.608, allocations: 1.997 MB / 0.788 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/1.614, allocations: 8.919 MB / 0.7968 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008723/1.623, allocations: 1.358 MB / 0.7981 GB, free: 93.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/1.625, allocations: 372 kB / 0.7984 GB, free: 93.19 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01063/1.636, allocations: 4.586 MB / 0.8029 GB, free: 88.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/1.638, allocations: 0.6982 MB / 0.8036 GB, free: 87.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/1.661, allocations: 10.61 MB / 0.814 GB, free: 77.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.562e-05/1.661, allocations: 75.94 kB / 0.814 GB, free: 77.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.661, allocations: 0 / 0.814 GB, free: 77.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000138/1.661, allocations: 31.88 kB / 0.8141 GB, free: 77.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5028/2.164, allocations: 156.6 MB / 0.967 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001543/2.164, allocations: 84.81 kB / 0.9671 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005274/2.169, allocations: 1.54 MB / 0.9686 GB, free: 162.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008091/2.17, allocations: 386.3 kB / 0.9689 GB, free: 162.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007462/2.171, allocations: 246.4 kB / 0.9692 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/2.176, allocations: 8.802 MB / 0.9778 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.948e-05/2.176, allocations: 132.2 kB / 0.9779 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02143/2.197, allocations: 18.53 MB / 0.996 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005175/2.202, allocations: 2.022 MB / 0.998 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002567/2.205, allocations: 239.9 kB / 0.9982 GB, free: 136.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006101/2.211, allocations: 0.5541 MB / 0.9987 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/2.213, allocations: 0.7301 MB / 0.9994 GB, free: 135 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001129/2.214, allocations: 308 kB / 0.9997 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01062/2.225, allocations: 6.051 MB / 1.006 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.11e-07/2.225, allocations: 0 / 1.006 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01148/2.236, allocations: 2.617 MB / 1.008 GB, free: 126.1 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002365/2.239, allocations: 499.9 kB / 1.009 GB, free: 125.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0156/2.254, allocations: 10.37 MB / 1.019 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.361e-05/2.254, allocations: 12 kB / 1.019 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007989/2.262, allocations: 5.438 MB / 1.024 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0135/2.276, allocations: 1.45 MB / 1.026 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04351/2.319, allocations: 28.63 MB / 1.054 GB, free: 78.33 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01308/2.333, allocations: 7.525 MB / 1.061 GB, free: 70.77 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00394/2.337, allocations: 0.6322 MB / 1.061 GB, free: 70.13 MB / 0.5607 GB Notification: Performance of SimCode: time 1.452e-06/2.337, allocations: 0 / 1.061 GB, free: 70.13 MB / 0.5607 GB Notification: Performance of Templates: time 1.241/3.578, allocations: 0.5356 GB / 1.597 GB, free: 185.7 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches