Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 115.6 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 212 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 76.16 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3068, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0208/0.3276, allocations: 19.75 MB / 0.5509 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.339, allocations: 4.984 MB / 0.5558 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004448/0.3434, allocations: 159.5 kB / 0.556 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.3599, allocations: 7.768 MB / 0.5636 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008359/0.3683, allocations: 2.051 MB / 0.5656 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.3729, allocations: 1.393 MB / 0.5669 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01517/0.3881, allocations: 12.19 MB / 0.5788 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0371/0.4253, allocations: 26.06 MB / 0.6043 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.4369, allocations: 6.526 MB / 0.6106 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/0.4489, allocations: 7.206 MB / 0.6177 GB, free: 9.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005083/0.4541, allocations: 1.719 MB / 0.6194 GB, free: 7.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006211/0.4603, allocations: 1.922 MB / 0.6212 GB, free: 5.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005187/0.4655, allocations: 3.647 MB / 0.6248 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01098/0.4765, allocations: 7.011 MB / 0.6316 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02622/0.5027, allocations: 23.62 MB / 0.6547 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5028, allocations: 4 kB / 0.6547 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5028, allocations: 0 / 0.6547 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007071/0.5035, allocations: 0 / 0.6547 GB, free: 3.242 MB / 0.4981 GB 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.04056/0.5441, allocations: 14.56 MB / 0.6689 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5441, allocations: 8.031 kB / 0.6689 GB, free: 4.566 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05975/0.6039, allocations: 11.43 MB / 0.6801 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.62, allocations: 7.322 MB / 0.6873 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.6211, allocations: 0.891 MB / 0.6881 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005646/0.6268, allocations: 1.175 MB / 0.6893 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04623/0.673, allocations: 18.56 MB / 0.7074 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004507/0.6735, allocations: 19.81 kB / 0.7074 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003103/0.6766, allocations: 496 kB / 0.7079 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006268/0.6773, allocations: 0.6538 MB / 0.7085 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5294/1.207, allocations: 19.08 MB / 0.7272 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08552/1.292, allocations: 60.22 MB / 0.786 GB, free: 99.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.309, allocations: 16.6 MB / 0.8022 GB, free: 82.38 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006093/1.315, allocations: 4.524 MB / 0.8066 GB, free: 77.84 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/1.316, allocations: 325.8 kB / 0.8069 GB, free: 77.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.436e-05/1.316, allocations: 107.7 kB / 0.807 GB, free: 77.39 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.03e-05/1.316, allocations: 0 / 0.807 GB, free: 77.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01702/1.333, allocations: 12.35 MB / 0.8191 GB, free: 64.83 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.333, allocations: 120.5 kB / 0.8192 GB, free: 64.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/1.346, allocations: 8.611 MB / 0.8276 GB, free: 56.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006953/1.347, allocations: 133.7 kB / 0.8277 GB, free: 55.96 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003211/1.35, allocations: 4.479 MB / 0.8321 GB, free: 51.47 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002441/1.352, allocations: 2.19 MB / 0.8342 GB, free: 49.29 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/1.355, allocations: 1.439 MB / 0.8356 GB, free: 47.84 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.636e-05/1.356, allocations: 301.1 kB / 0.8359 GB, free: 47.55 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005471/1.361, allocations: 4.102 MB / 0.8399 GB, free: 43.44 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006719/1.368, allocations: 6.913 MB / 0.8467 GB, free: 35.26 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.38, allocations: 11.92 MB / 0.8583 GB, free: 21.98 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.876e-05/1.381, allocations: 31.94 kB / 0.8584 GB, free: 21.95 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01727/1.398, allocations: 12.01 MB / 0.8701 GB, free: 9.832 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/1.398, allocations: 48 kB / 0.8701 GB, free: 9.785 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/1.398, allocations: 92 kB / 0.8702 GB, free: 9.695 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/1.399, allocations: 408.9 kB / 0.8706 GB, free: 9.277 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006286/1.405, allocations: 2.001 MB / 0.8726 GB, free: 7.273 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/1.411, allocations: 9.594 MB / 0.8819 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006469/1.418, allocations: 1.354 MB / 0.8832 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.419, allocations: 375.9 kB / 0.8836 GB, free: 11.1 MB / 0.5763 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.007699/1.426, allocations: 4.582 MB / 0.8881 GB, free: 6.504 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/1.428, allocations: 0.6982 MB / 0.8888 GB, free: 5.797 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02045/1.448, allocations: 10.6 MB / 0.8991 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/1.449, allocations: 35.86 kB / 0.8991 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.449, allocations: 0 / 0.8991 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005386/1.454, allocations: 1.873 MB / 0.901 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00271/1.457, allocations: 112 kB / 0.9011 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004897/1.462, allocations: 0.5033 MB / 0.9016 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/1.463, allocations: 389 kB / 0.9019 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01818/1.481, allocations: 9.056 MB / 0.9108 GB, free: 15.02 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02125/1.502, allocations: 13.99 MB / 0.9245 GB, free: 0.918 MB / 0.6076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006296/1.509, allocations: 3.926 MB / 0.9283 GB, free: 12.97 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01166/1.52, allocations: 6.047 MB / 0.9342 GB, free: 6.941 MB / 0.6232 GB Notification: Performance of Backend: time 9.42e-07/1.52, allocations: 0 / 0.9342 GB, free: 6.941 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01825/1.539, allocations: 7.006 MB / 0.941 GB, free: 15.87 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03791/1.577, allocations: 19.63 MB / 0.9602 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.4208/1.997, allocations: 114.2 MB / 1.072 GB, free: 151.2 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches