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.0009088/0.0009089, allocations: 97.25 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001445, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.7 MB / 247.5 MB, free: 9.719 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1985/0.1985, allocations: 46.19 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002483, allocations: 12.27 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 63.57 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01894/0.1299, allocations: 18.45 MB / 0.4904 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1415, allocations: 4.908 MB / 0.4952 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004511/0.1461, allocations: 147.5 kB / 0.4954 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004259/0.1503, allocations: 1.217 MB / 0.4965 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007866/0.1582, allocations: 1.866 MB / 0.4984 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.1628, allocations: 1.307 MB / 0.4996 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2605/0.4233, allocations: 12.43 MB / 0.5118 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04917/0.4725, allocations: 25.38 MB / 0.5366 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009514/0.4821, allocations: 4.556 MB / 0.541 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.4931, allocations: 5.585 MB / 0.5465 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006748/0.4999, allocations: 0.9658 MB / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.5052, allocations: 0.8792 MB / 0.5483 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004025/0.5092, allocations: 2.331 MB / 0.5505 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.52, allocations: 5.564 MB / 0.556 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02082/0.5408, allocations: 19.84 MB / 0.5754 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.5408, allocations: 0 / 0.5754 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.5409, allocations: 0 / 0.5754 GB, free: 3.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006772/0.5415, allocations: 0 / 0.5754 GB, free: 3.875 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.03265/0.5742, allocations: 11.86 MB / 0.5869 GB, free: 8.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.5743, allocations: 12.88 kB / 0.5869 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06055/0.6348, allocations: 11.49 MB / 0.5982 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.6488, allocations: 7.086 MB / 0.6051 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009882/0.6499, allocations: 0.8891 MB / 0.606 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/0.6542, allocations: 1.173 MB / 0.6071 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04324/0.6974, allocations: 18.56 MB / 0.6252 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005302/0.698, allocations: 15.89 kB / 0.6252 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00326/0.7013, allocations: 497 kB / 0.6257 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006833/0.702, allocations: 0.6616 MB / 0.6264 GB, free: 16 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03733/0.7393, allocations: 19.08 MB / 0.645 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.542/1.281, allocations: 61.08 MB / 0.7046 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02299/1.304, allocations: 16.61 MB / 0.7209 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008664/1.313, allocations: 4.523 MB / 0.7253 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/1.314, allocations: 326.7 kB / 0.7256 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.088e-05/1.314, allocations: 106.4 kB / 0.7257 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.945e-06/1.314, allocations: 1.641 kB / 0.7257 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02/1.334, allocations: 12.37 MB / 0.7378 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/1.334, allocations: 126.2 kB / 0.7379 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.345, allocations: 8.601 MB / 0.7463 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009878/1.346, allocations: 127.6 kB / 0.7464 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002646/1.349, allocations: 4.496 MB / 0.7508 GB, free: 124 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.351, allocations: 2.182 MB / 0.7529 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007713/1.351, allocations: 0.5947 MB / 0.7535 GB, free: 122 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/1.352, allocations: 308.9 kB / 0.7538 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004986/1.357, allocations: 4.104 MB / 0.7578 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006083/1.363, allocations: 6.914 MB / 0.7646 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.375, allocations: 11.95 MB / 0.7762 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-05/1.375, allocations: 26.69 kB / 0.7763 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01689/1.392, allocations: 12.01 MB / 0.788 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/1.392, allocations: 55.92 kB / 0.7881 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.392, allocations: 89.2 kB / 0.7881 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/1.393, allocations: 412.8 kB / 0.7885 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00684/1.4, allocations: 2.001 MB / 0.7905 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/1.405, allocations: 8.93 MB / 0.7992 GB, free: 88.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.411, allocations: 1.346 MB / 0.8005 GB, free: 87.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.413, allocations: 380 kB / 0.8009 GB, free: 86.74 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.006613/1.419, allocations: 4.582 MB / 0.8054 GB, free: 82.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.42, allocations: 0.6982 MB / 0.806 GB, free: 81.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.434, allocations: 10.62 MB / 0.8164 GB, free: 70.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/1.434, allocations: 67.94 kB / 0.8165 GB, free: 70.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.434, allocations: 4 kB / 0.8165 GB, free: 70.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/1.434, allocations: 33.73 kB / 0.8165 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4482/1.882, allocations: 161.4 MB / 0.9742 GB, free: 150.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003352/1.883, allocations: 88 kB / 0.9743 GB, free: 150.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005829/1.889, allocations: 1.538 MB / 0.9758 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008286/1.89, allocations: 383.2 kB / 0.9761 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009084/1.89, allocations: 244 kB / 0.9764 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/1.895, allocations: 8.805 MB / 0.985 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.362e-05/1.896, allocations: 138.3 kB / 0.9851 GB, free: 139 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.915, allocations: 18.54 MB / 1.003 GB, free: 118.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004851/1.92, allocations: 2.02 MB / 1.005 GB, free: 117 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001755/1.922, allocations: 243.9 kB / 1.005 GB, free: 116.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005695/1.928, allocations: 0.562 MB / 1.006 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.929, allocations: 0.7301 MB / 1.007 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005214/1.929, allocations: 308 kB / 1.007 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009682/1.939, allocations: 6.047 MB / 1.013 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.21e-07/1.939, allocations: 0 / 1.013 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01091/1.95, allocations: 2.624 MB / 1.015 GB, free: 106.5 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.001808/1.952, allocations: 0.4957 MB / 1.016 GB, free: 106 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01463/1.967, allocations: 10.38 MB / 1.026 GB, free: 95.54 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.208e-05/1.967, allocations: 13.94 kB / 1.026 GB, free: 95.53 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00841/1.975, allocations: 5.446 MB / 1.031 GB, free: 90.02 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08241/2.058, allocations: 1.488 MB / 1.033 GB, free: 88.57 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03741/2.095, allocations: 28.68 MB / 1.061 GB, free: 58.65 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007516/2.103, allocations: 7.525 MB / 1.068 GB, free: 51.09 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002847/2.105, allocations: 0.6322 MB / 1.069 GB, free: 50.46 MB / 0.5607 GB Notification: Performance of SimCode: time 2.224e-06/2.105, allocations: 0 / 1.069 GB, free: 50.46 MB / 0.5607 GB Notification: Performance of Templates: time 1.397/3.503, allocations: 0.5342 GB / 1.603 GB, free: 177 MB / 0.5919 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