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.001069/0.001069, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.12 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 73.33 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02019/0.1515, allocations: 19.76 MB / 0.4895 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1635, allocations: 4.974 MB / 0.4943 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/0.168, allocations: 163.4 kB / 0.4945 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01728/0.1854, allocations: 7.766 MB / 0.5021 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009325/0.1947, allocations: 2.046 MB / 0.5041 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.1999, allocations: 1.403 MB / 0.5054 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.246/0.4459, allocations: 12.16 MB / 0.5173 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04067/0.4866, allocations: 26.08 MB / 0.5428 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.4982, allocations: 6.497 MB / 0.5491 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.5095, allocations: 7.206 MB / 0.5562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004408/0.5139, allocations: 1.723 MB / 0.5578 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00995/0.5239, allocations: 2.255 MB / 0.56 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005815/0.5297, allocations: 3.654 MB / 0.5636 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01261/0.5423, allocations: 7.005 MB / 0.5704 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02554/0.5679, allocations: 23.61 MB / 0.5935 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.568, allocations: 0 / 0.5935 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.568, allocations: 4 kB / 0.5935 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007019/0.5687, allocations: 0 / 0.5935 GB, free: 14.1 MB / 446.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.04107/0.6097, allocations: 14.56 MB / 0.6077 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6098, allocations: 12.03 kB / 0.6077 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05753/0.6673, allocations: 11.43 MB / 0.6189 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/0.6845, allocations: 7.323 MB / 0.6261 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/0.6856, allocations: 0.8884 MB / 0.6269 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005864/0.6915, allocations: 1.17 MB / 0.6281 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04641/0.7379, allocations: 18.56 MB / 0.6462 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006391/0.7386, allocations: 15.81 kB / 0.6462 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004187/0.7428, allocations: 496 kB / 0.6467 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008172/0.7436, allocations: 0.6577 MB / 0.6473 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04085/0.7845, allocations: 19.08 MB / 0.666 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6406/1.425, allocations: 60.2 MB / 0.7248 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/1.443, allocations: 16.61 MB / 0.741 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005891/1.449, allocations: 4.521 MB / 0.7454 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/1.449, allocations: 321.4 kB / 0.7457 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/1.449, allocations: 106.7 kB / 0.7458 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.685e-06/1.449, allocations: 0 / 0.7458 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01659/1.466, allocations: 12.36 MB / 0.7579 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.466, allocations: 119.5 kB / 0.758 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/1.478, allocations: 8.608 MB / 0.7664 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/1.479, allocations: 132.5 kB / 0.7665 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.482, allocations: 4.482 MB / 0.7709 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003008/1.485, allocations: 2.189 MB / 0.773 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00227/1.487, allocations: 1.437 MB / 0.7744 GB, free: 107 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/1.487, allocations: 304.8 kB / 0.7747 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/1.492, allocations: 4.105 MB / 0.7787 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/1.498, allocations: 6.899 MB / 0.7855 GB, free: 98.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.511, allocations: 11.94 MB / 0.7971 GB, free: 87.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.115e-05/1.511, allocations: 24 kB / 0.7971 GB, free: 87.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01854/1.529, allocations: 12.01 MB / 0.8089 GB, free: 75.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/1.529, allocations: 47.94 kB / 0.8089 GB, free: 75.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.53, allocations: 99.98 kB / 0.809 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/1.53, allocations: 408.8 kB / 0.8094 GB, free: 75.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007095/1.538, allocations: 2.001 MB / 0.8114 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/1.543, allocations: 9.586 MB / 0.8207 GB, free: 62.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007517/1.55, allocations: 1.358 MB / 0.822 GB, free: 61.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/1.552, allocations: 372 kB / 0.8224 GB, free: 61.04 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.008008/1.56, allocations: 4.582 MB / 0.8269 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/1.562, allocations: 0.6982 MB / 0.8276 GB, free: 55.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/1.577, allocations: 10.59 MB / 0.8379 GB, free: 45.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/1.577, allocations: 68 kB / 0.838 GB, free: 44.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.577, allocations: 3.172 kB / 0.838 GB, free: 44.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-05/1.577, allocations: 35.86 kB / 0.838 GB, free: 44.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4448/2.022, allocations: 161.3 MB / 0.9956 GB, free: 125.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002839/2.022, allocations: 88 kB / 0.9956 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005519/2.028, allocations: 1.544 MB / 0.9971 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008768/2.029, allocations: 380.8 kB / 0.9975 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/2.03, allocations: 244 kB / 0.9977 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/2.035, allocations: 9.449 MB / 1.007 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-05/2.035, allocations: 131.4 kB / 1.007 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/2.059, allocations: 18.53 MB / 1.025 GB, free: 92.96 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006031/2.065, allocations: 2.015 MB / 1.027 GB, free: 90.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002627/2.067, allocations: 247.9 kB / 1.027 GB, free: 90.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005945/2.073, allocations: 0.558 MB / 1.028 GB, free: 90.18 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/2.075, allocations: 0.7301 MB / 1.029 GB, free: 89.45 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009542/2.076, allocations: 312 kB / 1.029 GB, free: 89.14 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009177/2.085, allocations: 6.044 MB / 1.035 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.31e-07/2.085, allocations: 0 / 1.035 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009306/2.094, allocations: 2.624 MB / 1.037 GB, free: 80.49 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.001955/2.096, allocations: 0.4923 MB / 1.038 GB, free: 79.99 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01556/2.112, allocations: 10.59 MB / 1.048 GB, free: 69.36 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 0.0001091/2.112, allocations: 16.81 kB / 1.048 GB, free: 69.34 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00833/2.12, allocations: 5.442 MB / 1.054 GB, free: 63.84 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/2.133, allocations: 1.497 MB / 1.055 GB, free: 62.39 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04165/2.175, allocations: 24.64 MB / 1.079 GB, free: 36.53 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/2.188, allocations: 7.769 MB / 1.087 GB, free: 28.72 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01092/2.199, allocations: 3.558 MB / 1.09 GB, free: 25.15 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003799/2.203, allocations: 0.5853 MB / 1.091 GB, free: 24.57 MB / 0.5607 GB Notification: Performance of SimCode: time 1.282e-06/2.203, allocations: 1.531 kB / 1.091 GB, free: 24.57 MB / 0.5607 GB Notification: Performance of Templates: time 0.3912/2.594, allocations: 93.54 MB / 1.182 GB, free: 147.2 MB / 0.5763 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 -s cvode -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