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.00105/0.00105, allocations: 115 kB / 17.75 MB, free: 5.32 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.001012/0.001012, allocations: 191 kB / 18.68 MB, free: 4.395 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2276/0.2276, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4926, allocations: 60.82 MB / 0.5188 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02191/0.5145, allocations: 19.75 MB / 0.5381 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.5294, allocations: 4.909 MB / 0.5429 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006242/0.5357, allocations: 161.6 kB / 0.5431 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01939/0.5551, allocations: 7.759 MB / 0.5507 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.5664, allocations: 2.212 MB / 0.5528 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.5722, allocations: 1.258 MB / 0.554 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02818/0.6004, allocations: 12.16 MB / 0.5659 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07405/0.6745, allocations: 26.06 MB / 0.5914 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01849/0.693, allocations: 6.51 MB / 0.5977 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02136/0.7145, allocations: 7.206 MB / 0.6048 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008956/0.7235, allocations: 1.723 MB / 0.6064 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/0.7378, allocations: 1.91 MB / 0.6083 GB, free: 80 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01053/0.7484, allocations: 3.659 MB / 0.6119 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02191/0.7703, allocations: 7.003 MB / 0.6187 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03688/0.8073, allocations: 23.6 MB / 0.6418 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.8074, allocations: 0 / 0.6418 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.507e-06/0.8074, allocations: 0 / 0.6418 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001552/0.809, allocations: 0 / 0.6418 GB, free: 13.71 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.05305/0.8621, allocations: 14.56 MB / 0.656 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.8621, allocations: 8.031 kB / 0.656 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06232/0.9245, allocations: 11.44 MB / 0.6672 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/0.9426, allocations: 7.322 MB / 0.6743 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/0.9439, allocations: 0.891 MB / 0.6752 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007487/0.9514, allocations: 1.168 MB / 0.6763 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06495/1.016, allocations: 18.57 MB / 0.6945 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006188/1.017, allocations: 15.91 kB / 0.6945 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005111/1.022, allocations: 492 kB / 0.6949 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007659/1.023, allocations: 0.6577 MB / 0.6956 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04778/1.071, allocations: 19.08 MB / 0.7142 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.803/1.874, allocations: 59.96 MB / 0.7728 GB, free: 117.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02136/1.895, allocations: 16.61 MB / 0.789 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006791/1.902, allocations: 4.52 MB / 0.7934 GB, free: 98.05 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/1.903, allocations: 238.5 kB / 0.7936 GB, free: 97.83 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.209e-05/1.903, allocations: 107.6 kB / 0.7937 GB, free: 97.71 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 6.973e-06/1.903, allocations: 0 / 0.7937 GB, free: 97.71 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01795/1.921, allocations: 12.35 MB / 0.8058 GB, free: 85.15 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/1.921, allocations: 116.5 kB / 0.8059 GB, free: 85.02 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/1.934, allocations: 8.607 MB / 0.8143 GB, free: 76.43 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/1.936, allocations: 133.7 kB / 0.8144 GB, free: 76.29 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.939, allocations: 4.483 MB / 0.8188 GB, free: 71.79 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002791/1.941, allocations: 2.186 MB / 0.821 GB, free: 69.61 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002558/1.944, allocations: 1.439 MB / 0.8224 GB, free: 68.16 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.944, allocations: 305.1 kB / 0.8227 GB, free: 67.86 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/1.95, allocations: 4.102 MB / 0.8267 GB, free: 63.76 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00706/1.958, allocations: 6.909 MB / 0.8334 GB, free: 55.59 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/1.972, allocations: 11.93 MB / 0.8451 GB, free: 42.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.972, allocations: 27.98 kB / 0.8451 GB, free: 42.27 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02153/1.993, allocations: 12.01 MB / 0.8568 GB, free: 30.15 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.993, allocations: 50.75 kB / 0.8569 GB, free: 30.11 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/1.994, allocations: 88 kB / 0.8569 GB, free: 30.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.995, allocations: 413.1 kB / 0.8573 GB, free: 29.6 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007411/2.002, allocations: 2.012 MB / 0.8593 GB, free: 27.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/2.008, allocations: 9.58 MB / 0.8687 GB, free: 17.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008644/2.017, allocations: 1.354 MB / 0.87 GB, free: 15.79 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/2.019, allocations: 376 kB / 0.8703 GB, free: 15.42 MB / 0.5607 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.01103/2.03, allocations: 4.582 MB / 0.8748 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002686/2.032, allocations: 0.7021 MB / 0.8755 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02288/2.055, allocations: 10.59 MB / 0.8858 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.404e-05/2.056, allocations: 71.98 kB / 0.8859 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/2.056, allocations: 0 / 0.8859 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001915/2.056, allocations: 39.75 kB / 0.8859 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6852/2.741, allocations: 156.5 MB / 1.039 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001315/2.741, allocations: 87.5 kB / 1.039 GB, free: 166.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005455/2.747, allocations: 1.54 MB / 1.04 GB, free: 165.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/2.747, allocations: 384.5 kB / 1.041 GB, free: 164.9 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005232/2.748, allocations: 244 kB / 1.041 GB, free: 164.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/2.754, allocations: 9.455 MB / 1.05 GB, free: 154.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.035e-05/2.754, allocations: 134.6 kB / 1.05 GB, free: 154.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/2.778, allocations: 18.53 MB / 1.068 GB, free: 134.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007354/2.786, allocations: 2.009 MB / 1.07 GB, free: 132.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00299/2.789, allocations: 252.5 kB / 1.071 GB, free: 131.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006685/2.796, allocations: 0.5541 MB / 1.071 GB, free: 131.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/2.797, allocations: 0.7379 MB / 1.072 GB, free: 130.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005311/2.797, allocations: 304 kB / 1.072 GB, free: 130.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01196/2.809, allocations: 6.047 MB / 1.078 GB, free: 124.3 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.072e-06/2.809, allocations: 0 / 1.078 GB, free: 124.3 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01348/2.823, allocations: 2.613 MB / 1.081 GB, free: 121.7 MB / 0.6388 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.002458/2.825, allocations: 0.4892 MB / 1.081 GB, free: 121.2 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01621/2.842, allocations: 10.59 MB / 1.091 GB, free: 110.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-05/2.842, allocations: 12 kB / 1.091 GB, free: 110.5 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.008646/2.85, allocations: 5.445 MB / 1.097 GB, free: 105 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/2.865, allocations: 1.496 MB / 1.098 GB, free: 103.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/2.909, allocations: 24.64 MB / 1.122 GB, free: 77.71 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.92, allocations: 7.773 MB / 1.13 GB, free: 69.9 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.009313/2.929, allocations: 3.562 MB / 1.133 GB, free: 66.32 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002649/2.932, allocations: 0.5814 MB / 1.134 GB, free: 65.74 MB / 0.6388 GB Notification: Performance of SimCode: time 2.345e-06/2.932, allocations: 4 kB / 1.134 GB, free: 65.74 MB / 0.6388 GB Notification: Performance of Templates: time 0.5472/3.479, allocations: 93.49 MB / 1.225 GB, free: 209 MB / 0.6544 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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