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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 117.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3805/0.3805, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001095, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3933, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01745/0.4108, allocations: 19.42 MB / 0.5341 GB, free: 23.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4219, allocations: 4.938 MB / 0.5389 GB, free: 20.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00557/0.4276, allocations: 153.4 kB / 0.5391 GB, free: 20.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01496/0.4426, allocations: 7.368 MB / 0.5463 GB, free: 15.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008308/0.4509, allocations: 1.882 MB / 0.5481 GB, free: 14.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004394/0.4553, allocations: 1.319 MB / 0.5494 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01778/0.4731, allocations: 12.63 MB / 0.5617 GB, free: 7.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03823/0.5114, allocations: 21.83 MB / 0.5831 GB, free: 3.809 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.5231, allocations: 5.729 MB / 0.5887 GB, free: 14.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.537, allocations: 6.964 MB / 0.5955 GB, free: 7.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00541/0.5424, allocations: 1.23 MB / 0.5967 GB, free: 5.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008562/0.551, allocations: 1.422 MB / 0.598 GB, free: 4.422 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006945/0.558, allocations: 3.108 MB / 0.6011 GB, free: 1.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01785/0.5759, allocations: 6.468 MB / 0.6074 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03537/0.6113, allocations: 23.1 MB / 0.6299 GB, free: 3.645 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.6113, allocations: 3.984 kB / 0.63 GB, free: 3.641 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6113, allocations: 0 / 0.63 GB, free: 3.641 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009374/0.6123, allocations: 0 / 0.63 GB, free: 3.641 MB / 442.7 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.05118/0.6635, allocations: 14.56 MB / 0.6442 GB, free: 4.969 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.6636, allocations: 8.031 kB / 0.6442 GB, free: 4.961 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05763/0.7212, allocations: 11.44 MB / 0.6553 GB, free: 9.496 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/0.742, allocations: 7.08 MB / 0.6623 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/0.7432, allocations: 0.8911 MB / 0.6631 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00772/0.7509, allocations: 1.176 MB / 0.6643 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6628/1.414, allocations: 18.55 MB / 0.6824 GB, free: 106.3 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/1.415, allocations: 17.73 kB / 0.6824 GB, free: 106.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005938/1.421, allocations: 495.2 kB / 0.6829 GB, free: 106.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002138/1.423, allocations: 0.6551 MB / 0.6835 GB, free: 106.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0508/1.474, allocations: 19.08 MB / 0.7022 GB, free: 99.79 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1455/1.619, allocations: 60.9 MB / 0.7616 GB, free: 59.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.639, allocations: 16.61 MB / 0.7779 GB, free: 42.34 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006868/1.646, allocations: 4.52 MB / 0.7823 GB, free: 37.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/1.646, allocations: 316.5 kB / 0.7826 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.772e-05/1.646, allocations: 103.7 kB / 0.7827 GB, free: 37.36 MB / 490.8 MB Notification: Performance of pre-optimization done (n=653): time 1.139e-05/1.646, allocations: 0 / 0.7827 GB, free: 37.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=653): time 0.01657/1.663, allocations: 12.35 MB / 0.7947 GB, free: 24.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/1.663, allocations: 116.5 kB / 0.7948 GB, free: 24.67 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.675, allocations: 8.607 MB / 0.8033 GB, free: 16.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001444/1.677, allocations: 129.7 kB / 0.8034 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002657/1.679, allocations: 4.494 MB / 0.8078 GB, free: 11.42 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002385/1.682, allocations: 2.179 MB / 0.8099 GB, free: 9.211 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/1.684, allocations: 1.439 MB / 0.8113 GB, free: 7.766 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.859e-05/1.684, allocations: 305.1 kB / 0.8116 GB, free: 7.465 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005044/1.689, allocations: 4.109 MB / 0.8156 GB, free: 3.352 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007973/1.697, allocations: 6.907 MB / 0.8223 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/1.715, allocations: 11.93 MB / 0.834 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/1.715, allocations: 24 kB / 0.834 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02762/1.743, allocations: 12 MB / 0.8457 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.743, allocations: 44 kB / 0.8458 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.743, allocations: 88 kB / 0.8459 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/1.745, allocations: 416.8 kB / 0.8463 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00992/1.755, allocations: 2.001 MB / 0.8482 GB, free: 15.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008414/1.763, allocations: 8.915 MB / 0.8569 GB, free: 5.473 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009709/1.773, allocations: 1.358 MB / 0.8583 GB, free: 4.102 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00232/1.775, allocations: 371.9 kB / 0.8586 GB, free: 3.738 MB / 0.5262 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.01528/1.79, allocations: 4.584 MB / 0.8631 GB, free: 15.14 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002929/1.793, allocations: 0.7021 MB / 0.8638 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02289/1.816, allocations: 10.62 MB / 0.8741 GB, free: 3.707 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/1.816, allocations: 64 kB / 0.8742 GB, free: 3.645 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/1.816, allocations: 7.938 kB / 0.8742 GB, free: 3.637 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/1.817, allocations: 35.86 kB / 0.8742 GB, free: 3.602 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5519/2.368, allocations: 161.4 MB / 1.032 GB, free: 70.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001811/2.369, allocations: 92 kB / 1.032 GB, free: 70.43 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005896/2.375, allocations: 1.536 MB / 1.033 GB, free: 68.89 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008605/2.375, allocations: 384.8 kB / 1.034 GB, free: 68.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000967/2.376, allocations: 244 kB / 1.034 GB, free: 68.27 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/2.382, allocations: 8.797 MB / 1.043 GB, free: 58.77 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.697e-05/2.382, allocations: 131.4 kB / 1.043 GB, free: 58.64 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04621/2.428, allocations: 31 MB / 1.073 GB, free: 25.88 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006721/2.435, allocations: 2.019 MB / 1.075 GB, free: 23.87 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002676/2.437, allocations: 247.9 kB / 1.075 GB, free: 23.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006382/2.444, allocations: 0.5541 MB / 1.076 GB, free: 23.07 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/2.445, allocations: 0.7263 MB / 1.077 GB, free: 22.34 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005553/2.446, allocations: 310.5 kB / 1.077 GB, free: 22.04 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01094/2.457, allocations: 6.051 MB / 1.083 GB, free: 16.01 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5.11e-07/2.457, allocations: 0 / 1.083 GB, free: 16.01 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01323/2.47, allocations: 3.116 MB / 1.086 GB, free: 12.89 MB / 0.5574 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.002331/2.472, allocations: 0.4942 MB / 1.086 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0162/2.489, allocations: 10.37 MB / 1.096 GB, free: 1.926 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.314e-05/2.489, allocations: 12 kB / 1.096 GB, free: 1.914 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.2984/2.787, allocations: 5.436 MB / 1.102 GB, free: 179.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0144/2.802, allocations: 1.451 MB / 1.103 GB, free: 179.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05488/2.857, allocations: 32.81 MB / 1.135 GB, free: 163.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02155/2.878, allocations: 7.959 MB / 1.143 GB, free: 161 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01303/2.891, allocations: 3.567 MB / 1.146 GB, free: 160.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/2.894, allocations: 0.5819 MB / 1.147 GB, free: 160.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.382e-06/2.894, allocations: 1.094 kB / 1.147 GB, free: 160.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1531/3.047, allocations: 103.1 MB / 1.248 GB, free: 74.91 MB / 0.573 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches