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.001172/0.001172, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 78.06 kB / 418.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1395, allocations: 62.45 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02205/0.1616, allocations: 19.75 MB / 0.4887 GB, free: 1.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1764, allocations: 4.982 MB / 0.4936 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00584/0.1823, allocations: 163.5 kB / 0.4937 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01806/0.2005, allocations: 7.761 MB / 0.5013 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.2094, allocations: 2.043 MB / 0.5033 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.214, allocations: 1.405 MB / 0.5047 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2547/0.4688, allocations: 12.07 MB / 0.5165 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03762/0.5064, allocations: 26.19 MB / 0.542 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.5174, allocations: 6.478 MB / 0.5484 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.529, allocations: 7.228 MB / 0.5554 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004644/0.5337, allocations: 1.719 MB / 0.5571 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.5452, allocations: 2.379 MB / 0.5594 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006103/0.5514, allocations: 3.651 MB / 0.563 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01312/0.5645, allocations: 7.011 MB / 0.5698 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02437/0.5889, allocations: 23.47 MB / 0.5928 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.589, allocations: 4 kB / 0.5928 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.589, allocations: 0 / 0.5928 GB, free: 14.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000715/0.5897, allocations: 0 / 0.5928 GB, free: 14.45 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.04129/0.631, allocations: 14.56 MB / 0.607 GB, free: 15.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6311, allocations: 12.03 kB / 0.607 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06253/0.6936, allocations: 11.43 MB / 0.6182 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.7083, allocations: 7.089 MB / 0.6251 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009525/0.7093, allocations: 0.8954 MB / 0.626 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005052/0.7144, allocations: 1.174 MB / 0.6271 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04793/0.7624, allocations: 18.56 MB / 0.6452 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004324/0.7628, allocations: 19.8 kB / 0.6453 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004411/0.7672, allocations: 494.8 kB / 0.6457 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000779/0.768, allocations: 0.6539 MB / 0.6464 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04231/0.8104, allocations: 19.07 MB / 0.665 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5544/1.365, allocations: 60.89 MB / 0.7245 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/1.384, allocations: 16.61 MB / 0.7407 GB, free: 94.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006838/1.391, allocations: 4.522 MB / 0.7451 GB, free: 94.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/1.391, allocations: 318.5 kB / 0.7454 GB, free: 94.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/1.391, allocations: 106 kB / 0.7455 GB, free: 94.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.524e-06/1.391, allocations: 7.719 kB / 0.7455 GB, free: 94.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01676/1.408, allocations: 12.35 MB / 0.7576 GB, free: 91.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/1.408, allocations: 117.1 kB / 0.7577 GB, free: 91.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.42, allocations: 8.609 MB / 0.7661 GB, free: 88.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/1.421, allocations: 132.3 kB / 0.7662 GB, free: 88.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/1.424, allocations: 4.492 MB / 0.7706 GB, free: 84.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002346/1.427, allocations: 2.187 MB / 0.7727 GB, free: 83.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/1.429, allocations: 1.437 MB / 0.7741 GB, free: 82.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.679e-05/1.429, allocations: 309.1 kB / 0.7744 GB, free: 82.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005132/1.434, allocations: 4.1 MB / 0.7784 GB, free: 81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006258/1.44, allocations: 6.908 MB / 0.7852 GB, free: 75.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.453, allocations: 11.94 MB / 0.7968 GB, free: 66.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.855e-05/1.453, allocations: 24 kB / 0.7969 GB, free: 66.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01913/1.473, allocations: 12 MB / 0.8086 GB, free: 54.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/1.473, allocations: 46.66 kB / 0.8086 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/1.473, allocations: 90.62 kB / 0.8087 GB, free: 54.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.474, allocations: 416.9 kB / 0.8091 GB, free: 54.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/1.481, allocations: 1.998 MB / 0.8111 GB, free: 52.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005584/1.487, allocations: 9.589 MB / 0.8204 GB, free: 41.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008998/1.496, allocations: 1.362 MB / 0.8217 GB, free: 40.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.498, allocations: 372 kB / 0.8221 GB, free: 40.23 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.01036/1.508, allocations: 4.573 MB / 0.8266 GB, free: 35.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002702/1.511, allocations: 0.706 MB / 0.8273 GB, free: 35.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02083/1.532, allocations: 10.61 MB / 0.8376 GB, free: 24.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/1.532, allocations: 67.94 kB / 0.8377 GB, free: 24.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.542e-05/1.532, allocations: 8 kB / 0.8377 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001275/1.532, allocations: 35.86 kB / 0.8377 GB, free: 24.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4642/1.996, allocations: 161.4 MB / 0.9954 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000144/1.997, allocations: 84 kB / 0.9954 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005243/2.002, allocations: 1.54 MB / 0.997 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007902/2.003, allocations: 382.6 kB / 0.9973 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008833/2.003, allocations: 248 kB / 0.9976 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/2.008, allocations: 9.46 MB / 1.007 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-05/2.008, allocations: 131.4 kB / 1.007 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02133/2.03, allocations: 18.52 MB / 1.025 GB, free: 136.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004948/2.035, allocations: 2.013 MB / 1.027 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/2.037, allocations: 239.9 kB / 1.027 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005722/2.043, allocations: 0.5541 MB / 1.028 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009327/2.043, allocations: 0.734 MB / 1.028 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004428/2.044, allocations: 309.7 kB / 1.029 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007857/2.052, allocations: 6.05 MB / 1.035 GB, free: 126.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/2.052, allocations: 0 / 1.035 GB, free: 126.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009767/2.062, allocations: 2.621 MB / 1.037 GB, free: 123.6 MB / 0.5919 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.001544/2.063, allocations: 0.4899 MB / 1.038 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02602/2.089, allocations: 16.71 MB / 1.054 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.303e-05/2.089, allocations: 12 kB / 1.054 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00718/2.096, allocations: 5.445 MB / 1.059 GB, free: 100.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/2.109, allocations: 1.493 MB / 1.061 GB, free: 99.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/2.149, allocations: 24.49 MB / 1.085 GB, free: 73.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007036/2.157, allocations: 7.522 MB / 1.092 GB, free: 66.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/2.16, allocations: 0.6283 MB / 1.093 GB, free: 65.55 MB / 0.5919 GB Notification: Performance of SimCode: time 1.723e-06/2.16, allocations: 0 / 1.093 GB, free: 65.55 MB / 0.5919 GB Notification: Performance of Templates: time 1.367/3.527, allocations: 0.5357 GB / 1.628 GB, free: 162.4 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