Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2593/0.2593, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 83.86 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4145, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009076/0.4236, allocations: 7.49 MB / 0.539 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.4295, allocations: 2.356 MB / 0.5413 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.4312, allocations: 26.97 kB / 0.5413 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.4362, allocations: 1.743 MB / 0.543 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.4401, allocations: 0.7048 MB / 0.5437 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.4428, allocations: 0.7535 MB / 0.5444 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.4462, allocations: 1.249 MB / 0.5456 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.4487, allocations: 0.9391 MB / 0.5466 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.4505, allocations: 0.5061 MB / 0.547 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.4523, allocations: 0.6625 MB / 0.5477 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005988/0.4529, allocations: 106.4 kB / 0.5478 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.4547, allocations: 307.8 kB / 0.5481 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.4552, allocations: 271 kB / 0.5483 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.4564, allocations: 0.6025 MB / 0.5489 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.4587, allocations: 1.606 MB / 0.5505 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4588, allocations: 0 / 0.5505 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4588, allocations: 0 / 0.5505 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4588, allocations: 8 kB / 0.5505 GB, free: 14.38 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004339/0.4631, allocations: 1.8 MB / 0.5523 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4632, allocations: 12.03 kB / 0.5523 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008999/0.4722, allocations: 1.33 MB / 0.5536 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.4734, allocations: 0.5607 MB / 0.5541 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.4735, allocations: 95.03 kB / 0.5542 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.4737, allocations: 144 kB / 0.5544 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.4759, allocations: 1.249 MB / 0.5556 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.4759, allocations: 0 / 0.5556 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4761, allocations: 56 kB / 0.5556 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.4761, allocations: 32 kB / 0.5557 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.4784, allocations: 1.443 MB / 0.5571 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007986/0.4864, allocations: 5.797 MB / 0.5627 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.4882, allocations: 0.9556 MB / 0.5637 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.4888, allocations: 367.7 kB / 0.564 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.489, allocations: 183.2 kB / 0.5642 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.4891, allocations: 47.55 kB / 0.5642 GB, free: 15.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.4891, allocations: 0 / 0.5642 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002275/0.4914, allocations: 1.198 MB / 0.5654 GB, free: 14.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4914, allocations: 60.41 kB / 0.5655 GB, free: 14.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4925, allocations: 0.8286 MB / 0.5663 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.4926, allocations: 41.7 kB / 0.5663 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.4929, allocations: 0.4986 MB / 0.5668 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.4932, allocations: 307.5 kB / 0.5671 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.4935, allocations: 194.8 kB / 0.5673 GB, free: 12.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4937, allocations: 406.7 kB / 0.5677 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.4943, allocations: 346.5 kB / 0.568 GB, free: 11.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/0.4952, allocations: 0.6147 MB / 0.5686 GB, free: 10.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.4966, allocations: 0.9914 MB / 0.5696 GB, free: 9.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4966, allocations: 4 kB / 0.5696 GB, free: 9.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002173/0.4988, allocations: 1.181 MB / 0.5707 GB, free: 8.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4989, allocations: 12.75 kB / 0.5707 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/0.4989, allocations: 11.94 kB / 0.5707 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.4992, allocations: 69.67 kB / 0.5708 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.5002, allocations: 263.6 kB / 0.5711 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.5027, allocations: 2.826 MB / 0.5738 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009889/0.5037, allocations: 158.4 kB / 0.574 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5038, allocations: 48 kB / 0.574 GB, free: 4.984 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0005066/0.5043, allocations: 261.5 kB / 0.5743 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.5045, allocations: 94.81 kB / 0.5744 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.5066, allocations: 1.111 MB / 0.5754 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/0.5066, allocations: 8 kB / 0.5755 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5066, allocations: 4 kB / 0.5755 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5066, allocations: 3.984 kB / 0.5755 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.5111, allocations: 3.151 MB / 0.5785 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.5112, allocations: 7.984 kB / 0.5785 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.5119, allocations: 179.7 kB / 0.5787 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.5122, allocations: 57.69 kB / 0.5788 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.5123, allocations: 27.98 kB / 0.5788 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.5145, allocations: 2.84 MB / 0.5816 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.5146, allocations: 4 kB / 0.5816 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.5169, allocations: 1.481 MB / 0.583 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.5173, allocations: 195.8 kB / 0.5832 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.5175, allocations: 24 kB / 0.5832 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.5182, allocations: 56.03 kB / 0.5833 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5184, allocations: 88.22 kB / 0.5834 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/0.5185, allocations: 32 kB / 0.5834 GB, free: 10.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008501/0.5193, allocations: 0.5771 MB / 0.584 GB, free: 10.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5193, allocations: 0 / 0.584 GB, free: 10.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001174/0.5205, allocations: 315.4 kB / 0.5843 GB, free: 9.727 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003551/0.5209, allocations: 170.9 kB / 0.5844 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.523, allocations: 1.097 MB / 0.5855 GB, free: 8.422 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.523, allocations: 0 / 0.5855 GB, free: 8.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009711/0.524, allocations: 0.6272 MB / 0.5861 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.5248, allocations: 119.2 kB / 0.5862 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.5283, allocations: 1.882 MB / 0.5881 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.529, allocations: 1.016 MB / 0.5891 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.5293, allocations: 95.41 kB / 0.5891 GB, free: 4.535 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5293, allocations: 0 / 0.5891 GB, free: 4.535 MB / 446.1 MB Notification: Performance of Templates: time 0.02839/0.5577, allocations: 21.39 MB / 0.61 GB, free: 15.12 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches