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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2415/0.2415, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 79.88 kB / 443.1 MB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3547, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01553/0.3702, allocations: 16.98 MB / 0.5139 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.3817, allocations: 4.847 MB / 0.5186 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/0.386, allocations: 193.5 kB / 0.5188 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01721/0.4033, allocations: 7.659 MB / 0.5262 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008729/0.412, allocations: 2.089 MB / 0.5283 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.4168, allocations: 1.372 MB / 0.5296 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01836/0.4352, allocations: 12.24 MB / 0.5416 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04067/0.4759, allocations: 16.74 MB / 0.5579 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01395/0.4898, allocations: 6.655 MB / 0.5644 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/0.5038, allocations: 7.225 MB / 0.5715 GB, free: 9.238 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005312/0.5091, allocations: 1.719 MB / 0.5732 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008388/0.5175, allocations: 1.906 MB / 0.575 GB, free: 5.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007607/0.5251, allocations: 3.663 MB / 0.5786 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.5387, allocations: 5.49 MB / 0.584 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03078/0.5695, allocations: 23.79 MB / 0.6072 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5695, allocations: 0 / 0.6072 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5695, allocations: 0 / 0.6072 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005749/0.5701, allocations: 0 / 0.6072 GB, free: 4.566 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.04362/0.6137, allocations: 14.75 MB / 0.6216 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6138, allocations: 8.031 kB / 0.6216 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06161/0.6754, allocations: 11.17 MB / 0.6325 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.6913, allocations: 7.51 MB / 0.6399 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008643/0.6922, allocations: 0.8832 MB / 0.6407 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004445/0.6966, allocations: 1.172 MB / 0.6419 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04398/0.7406, allocations: 19.14 MB / 0.6606 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003438/0.7409, allocations: 23.88 kB / 0.6606 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/0.7433, allocations: 0.4921 MB / 0.6611 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007236/0.744, allocations: 0.6539 MB / 0.6617 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04153/0.7855, allocations: 19.05 MB / 0.6803 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6197/1.405, allocations: 51.79 MB / 0.7309 GB, free: 106.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/1.426, allocations: 10.63 MB / 0.7413 GB, free: 102.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0071/1.433, allocations: 4.219 MB / 0.7454 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/1.434, allocations: 189.5 kB / 0.7456 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/1.434, allocations: 110.2 kB / 0.7457 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=653): time 1.443e-05/1.434, allocations: 0 / 0.7457 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=653): time 0.01928/1.453, allocations: 11.75 MB / 0.7571 GB, free: 96.25 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/1.453, allocations: 120.8 kB / 0.7572 GB, free: 96.18 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006592/1.46, allocations: 3.825 MB / 0.761 GB, free: 94.22 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/1.461, allocations: 132.3 kB / 0.7611 GB, free: 94.11 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002677/1.464, allocations: 4.692 MB / 0.7657 GB, free: 90.81 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002464/1.466, allocations: 2.306 MB / 0.7679 GB, free: 89.07 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003559/1.47, allocations: 1.469 MB / 0.7694 GB, free: 88.27 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/1.47, allocations: 305.1 kB / 0.7697 GB, free: 87.97 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005662/1.475, allocations: 4.113 MB / 0.7737 GB, free: 85.84 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006785/1.482, allocations: 6.916 MB / 0.7804 GB, free: 79.21 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/1.496, allocations: 11.98 MB / 0.7921 GB, free: 65.87 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.496, allocations: 28 kB / 0.7922 GB, free: 65.84 MB / 0.5763 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01835/1.514, allocations: 11.83 MB / 0.8037 GB, free: 53.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-05/1.514, allocations: 47.98 kB / 0.8038 GB, free: 53.86 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/1.514, allocations: 92 kB / 0.8039 GB, free: 53.77 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000913/1.515, allocations: 413.3 kB / 0.8043 GB, free: 53.34 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00689/1.522, allocations: 2.012 MB / 0.8062 GB, free: 51.33 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/1.528, allocations: 8.813 MB / 0.8148 GB, free: 41.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006347/1.534, allocations: 1.014 MB / 0.8158 GB, free: 40.88 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.536, allocations: 388.1 kB / 0.8162 GB, free: 40.5 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.01007/1.546, allocations: 4.583 MB / 0.8207 GB, free: 35.91 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.548, allocations: 484.9 kB / 0.8211 GB, free: 35.43 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.565, allocations: 10.33 MB / 0.8312 GB, free: 25 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/1.565, allocations: 68 kB / 0.8313 GB, free: 24.93 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/1.565, allocations: 0 / 0.8313 GB, free: 24.93 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/1.565, allocations: 31.88 kB / 0.8313 GB, free: 24.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4543/2.019, allocations: 150.1 MB / 0.9779 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001956/2.02, allocations: 85.59 kB / 0.978 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006243/2.026, allocations: 1.561 MB / 0.9795 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/2.027, allocations: 383 kB / 0.9799 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009699/2.028, allocations: 253.7 kB / 0.9801 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00547/2.033, allocations: 8.694 MB / 0.9886 GB, free: 194.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.544e-05/2.033, allocations: 137.5 kB / 0.9888 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/2.056, allocations: 18.36 MB / 1.007 GB, free: 183.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003945/2.06, allocations: 1.554 MB / 1.008 GB, free: 183.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/2.061, allocations: 243 kB / 1.008 GB, free: 183.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005072/2.066, allocations: 0.543 MB / 1.009 GB, free: 183 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/2.067, allocations: 0.7731 MB / 1.01 GB, free: 182.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005962/2.068, allocations: 317.2 kB / 1.01 GB, free: 182.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00382/2.072, allocations: 2.545 MB / 1.013 GB, free: 181.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/2.072, allocations: 0 / 1.013 GB, free: 181.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01031/2.082, allocations: 2.942 MB / 1.015 GB, free: 181.2 MB / 0.67 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.001958/2.084, allocations: 0.4937 MB / 1.016 GB, free: 180.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01593/2.1, allocations: 10.33 MB / 1.026 GB, free: 175.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.000132/2.1, allocations: 16 kB / 1.026 GB, free: 175.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008485/2.108, allocations: 5.283 MB / 1.031 GB, free: 170.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/2.119, allocations: 1.266 MB / 1.032 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04496/2.164, allocations: 24.24 MB / 1.056 GB, free: 144.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01257/2.177, allocations: 7.401 MB / 1.063 GB, free: 137.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006696/2.183, allocations: 3.195 MB / 1.066 GB, free: 133.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/2.185, allocations: 0.5238 MB / 1.067 GB, free: 133.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/2.185, allocations: 0 / 1.067 GB, free: 133.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1112/2.296, allocations: 77.05 MB / 1.142 GB, free: 57.04 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.425302777905017]